Development Environment:
- Xcode Version: 15.4 (15F31d)
- macOS: 14.5 (23F79)
- Hardware: MacBook Pro with Apple M1 Max Chip
Dear Apple Developer Community and Support,
I am currently developing an application for both iOS and macOS. In the macOS environment, I encounter an issue where the app crashes immediately upon launch when deployed via Xcode Cloud to TestFlight. This issue does not occur when building the app directly in Xcode with the Scheme Build Configuration set to Release.
My colleague, who is also working on this project, does not experience any issues when running the app from TestFlight on her Mac. Below is the crash log for reference:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000196b94c88
Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [26662]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 AppKit 0x196b94c88 ___NSAssertMainEventQueueIsCurrentEventQueue_block_invoke + 216
1 libdispatch.dylib 0x1930a63e8 _dispatch_client_callout + 20
2 libdispatch.dylib 0x1930a7c68 _dispatch_once_callout + 32
3 AppKit 0x196b93bbc _DPSNextEvent + 232
4 AppKit 0x197389808 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
5 AppKit 0x196b8709c -[NSApplication run] + 476
6 AppKit 0x196b5e2e0 NSApplicationMain + 880
7 SwiftUI 0x1becd2474 0x1bebc8000 + 1090676
8 SwiftUI 0x1bf43be88 0x1bebc8000 + 8863368
9 SwiftUI 0x1bf836eb8 0x1bebc8000 + 13037240
10 Paperbot 0x104f247b4 0x104f1c000 + 34740
11 dyld 0x192ece0e0 start + 2360
We would greatly appreciate any insights or suggestions to resolve this issue. Thank you for your support.
Best regards, Julien