Symbol not found Crash Error (swiftui sdk)

[Problem/Question]
App crashes immediately on launch due to a missing Swift runtime symbol when using SendbirdSwiftUI SDK.
The issue occurs on real devices (I have tested on iPhone 13 and iPhone 14 Pro Max), and appears to be related to SendbirdUIMessageTemplate.framework referencing an unresolved symbol in SendbirdChatSDK.framework.

dyld[46962]: Symbol not found: __ZN5swift39swift51override_conformsToSwiftProtocolEPKNS_14TargetMetadataINS_9InProcessEEEPKNS_24TargetProtocolDescriptorIS1_EEN7__swift9__runtime4llvm9StringRefEPFPKNS_35TargetProtocolConformanceDescriptorIS1_EES4_S8_SC_E

Referenced from: <1E5B1FAF-772D-3EC7-94CA-12B6A1908B82> /private/var/containers/Bundle/Application/8D8EF25B-8322-411E-BF41-FD434E119170/SendbirdTP.app/Frameworks/SendbirdUIMessageTemplate.framework/SendbirdUIMessageTemplate

Expected in: /private/var/containers/Bundle/Application/8D8EF25B-8322-411E-BF41-FD434E119170/SendbirdTP.app/Frameworks/SendbirdChatSDK.framework/SendbirdChatSDK


[UIKit Version]

  • SendbirdChatSDK: 4.29.2

  • SendbirdSwiftUI: 1.1.0

  • Xcode: 16

  • Device: iPhone 13, iPhone 14 Pro Max

  • Deployment target: iOS 15+

[Reproduction Steps]
1.
Add SendbirdChatSDK (v4.29.2) and SendbirdSwiftUI (v1.1.0) via Swift Package Manager
2. Build and run the app on a real device
3. App crashes instantly with dyld symbol not found error
4. No issue on Simulator

[Frequency]

  1. 100% reproducible
  2. Always occurs on real devices
  3. Does not occur on Simulator

[Current impact]

  1. App cannot launch on real devices
  2. Unable to proceed with Sendbird integration

I’m working with SendbirdDesk and SendbirdChat, and I’m getting the exact same issue. The app works fine when running on a simulator but crashes immediately when running on a physical device..with the exact same missing symbol output.
Did you ever find a solution to this??

I contacted Sendbird support.
They confirmed it was an ABI compatibility issue with the Sendbird SwiftUI SDK.

The fix has already been released — please update to the latest version (1.1.1):
tag 1.1.1

After updating, the issue was resolved on my side. :white_check_mark:

1 Like