Post

Replies

Boosts

Views

Activity

Reply to How to Resolve DNS via Cellular Network
I'm in the same boat. I have a port knocking app that requires sending low-level packets. DNS resolution is something I need to do before I can use the typical socket() calls. Looks like CFHostGetAddressing is now deprecated, and not a lot of alternatives. I'll see if DNSServiceGetAddrInfo can work for me. I understand it's not a common use-case, but it's been an app that continues to get usage, so clearly there's a need.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to SwiftUI List row expansion causes weird bounce effect
Thanks @DTS Engineer for your reply. Unfortunately doing it that way results in no smooth animation -- the expansion simply "pops" rather than smoothly expanding. Also in my actual app, I have other animations I'm trying to trigger (e.g. fadein/out effects depending on the expansion state) that I believe this would negate? I suppose I could have a separate state for that. But it still allow the list row to smoothly expand/collapse like the default DisclosureGroupStyle. Is there no way to achieve behavior that is similar to the default? I'd consider a VStack, but then I lose the ability handle move/delete operations easily.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Passkey fails only on developer.apple.com
This is a user level issue when signing in to developer.apple.com in Safari. I posted there as suggested: https://discussions.apple.com/thread/256119053
Replies
Boosts
Views
Activity
Aug ’25
Reply to How to Resolve DNS via Cellular Network
I'm in the same boat. I have a port knocking app that requires sending low-level packets. DNS resolution is something I need to do before I can use the typical socket() calls. Looks like CFHostGetAddressing is now deprecated, and not a lot of alternatives. I'll see if DNSServiceGetAddrInfo can work for me. I understand it's not a common use-case, but it's been an app that continues to get usage, so clearly there's a need.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Safari tabs lost updating to macOS 15.4
Submitted as FB17166997
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Auto-renewing Subscription Updates not Arriving
Xcode 16.2, simulator, local StoreKit 2 config. I'm seeing the same as others. When upgrading subscriptions in the Storekit Transaction Manager, I get 2 transactions that fire in the app. Both have the transaction id of the original, not the new one.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Unfinished transactions not being emitted on start of app
I'm also seeing this issue when using local StoreKit config file and simulator on Xcode 16.2, StoreKit 2.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Type ReferenceWritableKeyPath does not conform to the 'Sendable' protocol
I'm encountering the same warning. Xcode Version 16.1 (16B40) - RC. My project settings are Swift 6 and SWIFT_STRICT_CONCURRENCY=Complete or Targeted. The only configuration that seems to avoid this warning is SWIFT_STRICT_CONCURRENCY=Minimal.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Importing Data into SwiftData in the Background Using ModelActor and @Query
Anyone have any luck on this? I believe I'm seeing the same issue on iOS 18.0 (release) using both Xcode 16.0 and Xcode 16.1beta3.
Replies
Boosts
Views
Activity
Oct ’24
Reply to SwiftUI List row expansion causes weird bounce effect
Thanks @DTS Engineer for your reply. Unfortunately doing it that way results in no smooth animation -- the expansion simply "pops" rather than smoothly expanding. Also in my actual app, I have other animations I'm trying to trigger (e.g. fadein/out effects depending on the expansion state) that I believe this would negate? I suppose I could have a separate state for that. But it still allow the list row to smoothly expand/collapse like the default DisclosureGroupStyle. Is there no way to achieve behavior that is similar to the default? I'd consider a VStack, but then I lose the ability handle move/delete operations easily.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Manage Subscriptions Page says Cannot Connect
I'm experiencing this as well. Aug 8, 2024 For reference, seen on simulator running iOS 18.0 beta with Xcode 16 beta 4. Curiously ProductView(id:) works fine.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Import Local Swift Package in Xcode 13.3
Xcode 15.4 now says "The selected package cannot be a direct ancestor of the project.". Seems like this is intentional. But personally this feels like a huge oversight as this is kind of a necessary workflow when working on and testing libraries.
Replies
Boosts
Views
Activity
May ’24
Reply to Sandbox entitlement to script Music/iTunes's AirPlay devices
You may also need to add the Hardened Runtime: Apple Events capability
Replies
Boosts
Views
Activity
Jun ’23
Reply to (How) Can I use DocC for internal documentation?
This has been a major deficiency in many source document tools I've used. It'd be great if DocC can fill the gap!
Replies
Boosts
Views
Activity
Apr ’22
Reply to Where is Swift Package Manager cache located (Xcode 12.5)?
For anyone else finding this question, there's also the swift package purge-clean and swift package reset commands.
Replies
Boosts
Views
Activity
Apr ’22
Reply to UIDocument no longer saving, error in URLByAppendingPathExtension
I ran into the same error after updating to Xcode 13.3, however I never haver had a relevant "Document Types" or "Exported Type Identifiers" for my UIDocument. I found I was able to get around the problem by overriding "fileType" and "savingFileType". I'm not sure what is making use of these values as the document filename appears to be the same.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’22