realm-swift icon indicating copy to clipboard operation
realm-swift copied to clipboard

Getting crash only in release mode

Open wilav-dev opened this issue 9 months ago • 1 comments

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 avatar Oct 25 '23 13:10 wilav-dev

@wilav-dev did you find any fix for this?

p01dhanaseks avatar May 07 '24 04:05 p01dhanaseks