realm-swift
realm-swift copied to clipboard
Getting crash only in release mode
How frequently does the bug occur?
Always
Description
I developed a framework that use RealmSwift 10.43.1. When I install my framework in an app, it works fine in debug mode. If I switch schema to release mode or archive for release I get a crash "Symbol not found: _$s10RealmSwift7ResultsVyxGAA0A14CollectionImplAAMc". Any idea?
Stacktrace & log output
dyld[10961]: Symbol not found: _$s10RealmSwift7ResultsVyxGAA0A14CollectionImplAAMc
Referenced from: <A4221190-2F9E-374D-A67A-44DA12BB5C70> /private/var/containers/Bundle/Application/5524CFA6-3829-404F-AB46-2852124659F5/TestSDK.app/Frameworks/MySDK.framework/MySDK
Expected in: <43558007-4EFC-3933-B5E2-7E47A77DCF84> /private/var/containers/Bundle/Application/5524CFA6-3829-404F-AB46-2852124659F5/TestSDK.app/Frameworks/RealmSwift.framework/RealmSwift
Version
10.43.1
Platform OS and version(s)
iOS 14
Build environment
Xcode version: 15.0
@wilav-dev did you find any fix for this?