Post

Replies

Boosts

Views

Activity

Mac Catalyst app built with Xcode 27 beta 3 crashes at launch on macOS 26.5.1 — dyld "Symbol not found: _UIFontTextStyleBody" expected in AppKit
My Mac Catalyst app (distributed via TestFlight) crashes instantly at launch — before main() — on macOS 26.5.1 (25F80) when archived with Xcode 27 beta 3. The same code archived with Xcode 26.5 (GA) launches fine. Crash excerpt: Termination Reason: Namespace DYLD, Code 4, Symbol missing Symbol not found: _UIFontTextStyleBody Referenced from: <...> /Applications/Paku.app/Contents/MacOS/Paku Expected in: <...> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (terminated at launch; ignore backtrace) What appears to be happening The symbol comes from completely ordinary UIKit code — e.g. UIFont.preferredFont(forTextStyle: .body). When linking with the Xcode 27 beta 3 SDK, the two-level namespace bind for _UIFontTextStyleBody in my binary points at AppKit, i.e. the beta SDK's AppKit.tbd declares (re-exports) the UIKit text-style constants for Catalyst. But the shipping OS doesn't provide that: on macOS 26.5.1, _UIFontTextStyleBody is absent from both the installed AppKit binary (checked with dyld_info -exports /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit) and the Xcode 26.5 GA SDK's AppKit.tbd. So any binary linked against the beta SDK hard-binds the symbol to AppKit and then fatally fails to bind on current GA macOS — a 100%-reproducible launch crash for every user not on the macOS 27 beta. Steps to reproduce Mac Catalyst target that uses any UIFont.TextStyle constant (e.g. .preferredFont(forTextStyle: .body)). Archive with Xcode 27 beta 3 and distribute via TestFlight. Launch on macOS 26.5.1 → immediate dyld abort with the report above. Questions Is this a known issue with the macOS 27 beta SDK's AppKit re-export list? It looks like these UIKit constants are being moved/re-exported through AppKit in the 27 cycle, but without availability/weak-linking info that would let binaries back-deploy to macOS 26. Is the intended behavior that Catalyst apps built with the 27 beta SDK simply can't run on macOS 26? If so, should App Store Connect / TestFlight have rejected or flagged the upload?
0
2
167
3w
Unable to use, install, or delete the iOS 27 runtime
I'm unable to use the iOS 27 runtime in Xcode 27 beta 1. It appears uninstalled, but has no Get button, so I can't delete it, nor uninstall it. Using the Get button in the toolbar results in "Fetching download information..." forever. When I click info and copy information, it says "iOS 27.0 beta (24A5355p) SDK + Simulator (Components absent)." It doesn't show up in any of the xcrun simctl commands for listing devices or runtimes. It doesn't show up in the Add Platforms modal. I was unable to debug this issue with an Apple engineer in person, so they suggested I post here! Update: xcodebuild -downloadPlatform doesn't work either, even though it does for watchOS
3
0
246
Jun ’26
Strange app crash from PKPassLibrary passesOfType
I'm experiencing a strange app crash that I'm having a tough time debugging. It seems to happen when calling PKPassLibrary.passes(of:), but I'm unable to reproduce it. We're using a third party crash reporter, which I know can corrupt crash reports - does that seem to be the case here? The whole report is available here: https://gist.github.com/kylebshr/3ed29dd47ee05f2a5e47993bf986b8f4 0 libsystem_kernel.dylib +0x1174 _mach_msg2_trap 1 libsystem_kernel.dylib +0xf0c _mach_msg2_internal 2 libsystem_kernel.dylib +0xe24 _mach_msg_overwrite 3 libsystem_kernel.dylib +0xc64 _mach_msg 4 libdispatch.dylib +0x1eefc __dispatch_mach_send_and_wait_for_reply 5 libdispatch.dylib +0x1f29c _dispatch_mach_send_with_result_and_wait_for_reply 6 libxpc.dylib +0x106d0 _xpc_connection_send_message_with_reply_sync 7 Foundation +0x37bcc ___NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__ 8 Foundation +0x202e4 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] 9 CoreFoundation +0x31b58 ____forwarding___ 10 CoreFoundation +0x17294c ___forwarding_prep_0___ 11 PassKitCore +0x1c5e94 -[PKPassLibrary _copyPassesOfType:withRetries:] 12 PassKitCore +0x1b0650 -[PKPassLibrary passesOfType:] 13 Mercury +0x3758c _mh_execute_header 14 Mercury +0x604bcc main 15 Mercury +0x9e0d34 main 16 Mercury +0x9e0f88 main 17 Mercury +0xa320ec main 18 Mercury +0x9ea514 main 19 Mercury +0x9eaa58 main 20 Mercury +0x9eaa08 main 21 Mercury +0x9f1650 main 22 Mercury +0x9f16f0 main 23 libdispatch.dylib +0x42fc __dispatch_client_callout 24 libdispatch.dylib +0x77b4 __dispatch_continuation_pop 25 libdispatch.dylib +0x1b5bc __dispatch_source_latch_and_call 26 libdispatch.dylib +0x1a18c __dispatch_source_invoke 27 libdispatch.dylib +0x128a4 __dispatch_main_queue_drain 28 libdispatch.dylib +0x125ac __dispatch_main_queue_callback_4CF 29 CoreFoundation +0x36f98 ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 30 CoreFoundation +0x33ca4 ___CFRunLoopRun 31 CoreFoundation +0x333f4 _CFRunLoopRunSpecific 32 GraphicsServices +0x34f4 _GSEventRunModal 33 UIKitCore +0x22c89c -[UIApplication _run] 34 UIKitCore +0x22bed8 _UIApplicationMain 35 UIKitCore +0x456594 0x18a42d594 (0x18a42d530 + 100) 36 Mercury +0x1bdff4 main 37 dyld +0x5dc8 start
1
0
846
Feb ’24
Mac Catalyst app built with Xcode 27 beta 3 crashes at launch on macOS 26.5.1 — dyld "Symbol not found: _UIFontTextStyleBody" expected in AppKit
My Mac Catalyst app (distributed via TestFlight) crashes instantly at launch — before main() — on macOS 26.5.1 (25F80) when archived with Xcode 27 beta 3. The same code archived with Xcode 26.5 (GA) launches fine. Crash excerpt: Termination Reason: Namespace DYLD, Code 4, Symbol missing Symbol not found: _UIFontTextStyleBody Referenced from: <...> /Applications/Paku.app/Contents/MacOS/Paku Expected in: <...> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (terminated at launch; ignore backtrace) What appears to be happening The symbol comes from completely ordinary UIKit code — e.g. UIFont.preferredFont(forTextStyle: .body). When linking with the Xcode 27 beta 3 SDK, the two-level namespace bind for _UIFontTextStyleBody in my binary points at AppKit, i.e. the beta SDK's AppKit.tbd declares (re-exports) the UIKit text-style constants for Catalyst. But the shipping OS doesn't provide that: on macOS 26.5.1, _UIFontTextStyleBody is absent from both the installed AppKit binary (checked with dyld_info -exports /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit) and the Xcode 26.5 GA SDK's AppKit.tbd. So any binary linked against the beta SDK hard-binds the symbol to AppKit and then fatally fails to bind on current GA macOS — a 100%-reproducible launch crash for every user not on the macOS 27 beta. Steps to reproduce Mac Catalyst target that uses any UIFont.TextStyle constant (e.g. .preferredFont(forTextStyle: .body)). Archive with Xcode 27 beta 3 and distribute via TestFlight. Launch on macOS 26.5.1 → immediate dyld abort with the report above. Questions Is this a known issue with the macOS 27 beta SDK's AppKit re-export list? It looks like these UIKit constants are being moved/re-exported through AppKit in the 27 cycle, but without availability/weak-linking info that would let binaries back-deploy to macOS 26. Is the intended behavior that Catalyst apps built with the 27 beta SDK simply can't run on macOS 26? If so, should App Store Connect / TestFlight have rejected or flagged the upload?
Replies
0
Boosts
2
Views
167
Activity
3w
Is there a way to change the default scroll edge effect?
It seems like the automatic edge effect defaults to hard in iOS 27 and soft on iOS 26. Designing for both of these is actually quite difficult - especially since hard edge effects don't work with pinned views in LazyVStack. Is there a way to set the global default to soft for an app?
Replies
1
Boosts
0
Views
433
Activity
Jun ’26
Unable to use, install, or delete the iOS 27 runtime
I'm unable to use the iOS 27 runtime in Xcode 27 beta 1. It appears uninstalled, but has no Get button, so I can't delete it, nor uninstall it. Using the Get button in the toolbar results in "Fetching download information..." forever. When I click info and copy information, it says "iOS 27.0 beta (24A5355p) SDK + Simulator (Components absent)." It doesn't show up in any of the xcrun simctl commands for listing devices or runtimes. It doesn't show up in the Add Platforms modal. I was unable to debug this issue with an Apple engineer in person, so they suggested I post here! Update: xcodebuild -downloadPlatform doesn't work either, even though it does for watchOS
Replies
3
Boosts
0
Views
246
Activity
Jun ’26
Strange app crash from PKPassLibrary passesOfType
I'm experiencing a strange app crash that I'm having a tough time debugging. It seems to happen when calling PKPassLibrary.passes(of:), but I'm unable to reproduce it. We're using a third party crash reporter, which I know can corrupt crash reports - does that seem to be the case here? The whole report is available here: https://gist.github.com/kylebshr/3ed29dd47ee05f2a5e47993bf986b8f4 0 libsystem_kernel.dylib +0x1174 _mach_msg2_trap 1 libsystem_kernel.dylib +0xf0c _mach_msg2_internal 2 libsystem_kernel.dylib +0xe24 _mach_msg_overwrite 3 libsystem_kernel.dylib +0xc64 _mach_msg 4 libdispatch.dylib +0x1eefc __dispatch_mach_send_and_wait_for_reply 5 libdispatch.dylib +0x1f29c _dispatch_mach_send_with_result_and_wait_for_reply 6 libxpc.dylib +0x106d0 _xpc_connection_send_message_with_reply_sync 7 Foundation +0x37bcc ___NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__ 8 Foundation +0x202e4 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] 9 CoreFoundation +0x31b58 ____forwarding___ 10 CoreFoundation +0x17294c ___forwarding_prep_0___ 11 PassKitCore +0x1c5e94 -[PKPassLibrary _copyPassesOfType:withRetries:] 12 PassKitCore +0x1b0650 -[PKPassLibrary passesOfType:] 13 Mercury +0x3758c _mh_execute_header 14 Mercury +0x604bcc main 15 Mercury +0x9e0d34 main 16 Mercury +0x9e0f88 main 17 Mercury +0xa320ec main 18 Mercury +0x9ea514 main 19 Mercury +0x9eaa58 main 20 Mercury +0x9eaa08 main 21 Mercury +0x9f1650 main 22 Mercury +0x9f16f0 main 23 libdispatch.dylib +0x42fc __dispatch_client_callout 24 libdispatch.dylib +0x77b4 __dispatch_continuation_pop 25 libdispatch.dylib +0x1b5bc __dispatch_source_latch_and_call 26 libdispatch.dylib +0x1a18c __dispatch_source_invoke 27 libdispatch.dylib +0x128a4 __dispatch_main_queue_drain 28 libdispatch.dylib +0x125ac __dispatch_main_queue_callback_4CF 29 CoreFoundation +0x36f98 ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 30 CoreFoundation +0x33ca4 ___CFRunLoopRun 31 CoreFoundation +0x333f4 _CFRunLoopRunSpecific 32 GraphicsServices +0x34f4 _GSEventRunModal 33 UIKitCore +0x22c89c -[UIApplication _run] 34 UIKitCore +0x22bed8 _UIApplicationMain 35 UIKitCore +0x456594 0x18a42d594 (0x18a42d530 + 100) 36 Mercury +0x1bdff4 main 37 dyld +0x5dc8 start
Replies
1
Boosts
0
Views
846
Activity
Feb ’24