Xcode 15.0 Beta 5, Symbol not found: _$s9SwiftData014DefaultBackingB0C3forACyxGxm_tcfC

When running a macOS app on Xcode 15 Beta 5 (15A5209g), I get a Symbol Not Found error.

  • Problem: App will not run. Error received. Symbol Not Found: SwiftData Default Backing For AC
  • Environment: Version 15.0 beta 5 (15A5209g), macOS 14.0 Beta (23A5257q)
  • App: macOS

SwiftData Model

@Model class Audit {

init() { }

}

Error: dyld[875]: Symbol not found: _$s9SwiftData014DefaultBackingB0C3forACyxGxm_tcfC Referenced from: <75DF3350-4DD5-3AF4-80DA-B17B0EDD26C2> /Users/dking/Library/Developer/Xcode/DerivedData/{redacted}-bigzojxvffztaaaepdczriowvoie/Build/Products/Debug/{redacted}.app/Contents/MacOS/{redacted} Expected in: <CC32CD58-C2DD-3D49-B2BB-9199DDD32D12> /System/Library/Frameworks/SwiftData.framework/Versions/A/SwiftData

Post not yet marked as solved Up vote post of dkk277 Down vote post of dkk277
3.1k views

Replies

Same issue Xcode 15 Beta 6. App works in simulator but crashes on real device

I'm also having the same issue on Xcode 15 beta 6 on macOS Ventura on an iOS 17 device running beta 6.

From the release notes:

Known Issues: Apps using SwiftData that are built with Xcode 15 beta 6 have known issues when running on iOS 17 beta 6. (113915428): Workaround: Use iOS 17 Beta 5 with Xcode Beta 6.

Correct me if I am wrong, but I dont think we can easily downgrade in IOS, so I will be waiting for Beta 7 of Xcode.

  • I am still seeing the issue in Xcode Beta 7.

  • I was on iOS 17 beta 6. But for some reason, when I checked Software Update on Settings, it was letting me install iOS 17 beta 5. Thought that was weird.

    Maybe that was just a glitch or bug. Cause when I checked Software Update again after installing what I thought was iOS 17 beta 5, it tells me I'm up to date. So I guess I'm on beta 7 now. Real weird.

Add a Comment

This issue is fixed for me on beta 7 of iOS 17 and Xcode 15.

I'm getting same issue on Beta 5 and Beta 7

dyld[2154]: Symbol not found: _$s9SwiftData6SchemaC16PropertyMetadataVMa Referenced from: <63D43BAC-0413-3988-80E5-4FA0F5F6F46D> /Users/XXXX/Library/Developer/Xcode/DerivedData/APPNAME-fgavhbuultkkgvatnbksrrvzqdgr/Build/Products/Debug/APPNAME.app/Contents/MacOS/ThaiGF Expected in: <324ADC23-74A0-38CA-A9F5-F58F94784E31> /System/Library/Frameworks/SwiftData.framework/Versions/A/SwiftData

If you upgrade to Sonomo 14.0 Beta (23A5328b) it fixes the problem

Hi,

I'm getting the same issue:

dyld[927]: Symbol not found: _$sSo24OS_dispatch_queue_serialC8DispatchE5label3qos10attributes20autoreleaseFrequency6targetABSS_AC0E3QoSVAbCE10AttributesVSo0a1_b1_C0CACE011AutoreleaseJ0OANSgtcfC
  Referenced from: <D5B497B4-6F51-387D-827C-85E82B1A6C68> /private/var/containers/Bundle/Application/56AAEC63-6AD9-4812-ABAB-CF945F502593/PanzerPower.app/PanzerPower
  Expected in:     <5D28AD50-9087-35F4-B443-436779FBCC38> /usr/lib/swift/libswiftDispatch.dylib

I'm running Sonoma 14.0 Beta (23A5312d), and Xcode 15.0 beta 8.

I wondered if this is because of some of my libraries I'm using, but I've re-added all my deps using spm again, and still experiencing this.

This is my bt dump:

* thread #1, stop reason = signal SIGABRT
  * frame #0: 0x00000001cfcecee4 dyld`__abort_with_payload + 8
    frame #1: 0x00000001cfcf6bcc dyld`abort_with_payload_wrapper_internal + 100
    frame #2: 0x00000001cfcf6bfc dyld`abort_with_payload + 12
    frame #3: 0x00000001cfc9ff1c dyld`dyld4::halt(char const*) + 324
    frame #4: 0x00000001cfc9e468 dyld`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3540
    frame #5: 0x00000001cfc9c2e0 dyld`start + 1760

Thought to provide it here just in case it's of any help to someone.