Xcode 15 beta 5 SIGABRT on run of SwiftUI Template

I am running Sonoma Version 14.0 Beta (23A5286i) and Xcode 15B5.

Create and build an app using the SwiftUI interface with no other options.

Builds okay, run results in SIGABRT with payload in the middle of "Start".

I experienced this as well and upgrading macOS to 14.0 Beta (23A5301g) fixed it for me.

Same here.

MacOS Sonoma beta 14.0 23A5301g Xcode Version 15.0 beta 4 (15A5195m)

Error I'm getting:

dyld[1671]: Symbol not found: _$s21DeveloperToolsSupport7PreviewV7SwiftUIE_6traits4bodyACSSSg_AA0D5TraitVyAC10ViewTraitsOGdAD0J0_pyctcfC
  Referenced from: <33D4E0D5-48BB-3E2D-9437-3C3F055B166D> /Users/user/Library/Developer/Xcode/DerivedData/MenuBarSample-hcsrllugqowdunfjmqhfmxonltrr/Build/Products/Debug/MenuBarSample.app/Contents/MacOS/MenuBarSample
  Expected in:     <50F6AD65-5E3E-3C6B-87CA-2B9F70FA6074> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI

Update to 14.0 Beta (23A5301g) and Xcode 15 beta 5. (Beta 5 is quite broken, but there isn't another way around it.)

I had the same issue: It works fine on the Simulator but fails on the device with SIGABRT after logging the Symbol not found error as @kkyr shared in his post.

To solve this, make sure your iOS device version is aligned with the Xcode version. To debug with an iPhone running iOS 17 beta 4, you need Xcode 15 beta 5 (beta 4 will fail with the symbol error).

Xcode 15 beta 5 SIGABRT on run of SwiftUI Template
 
 
Q