Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when using RealmSwift with multiple modules (ver 10.49.1) #8616

Open
ttt-hero opened this issue Jun 7, 2024 · 1 comment
Open

Crash when using RealmSwift with multiple modules (ver 10.49.1) #8616

ttt-hero opened this issue Jun 7, 2024 · 1 comment

Comments

@ttt-hero
Copy link

ttt-hero commented Jun 7, 2024

How frequently does the bug occur?

Always

Description

We are developing the following application with multiple modules.
We build “SampleModules.framework”, export modules, import them into “MasterApp.app” and build them.
I was using “RealmSwift (ver 10.20.1)” in “SampleModules.framework”, but when I update to “RealmSwift (ver 10.49.1)”, the application crashes although it can be built.

Stacktrace & log output

dyld[809]: Symbol not found: _$s10RealmSwift0A14CollectionImplPAAE6filteryAA7ResultsVy7ElementQzGSo11NSPredicateCF
  Referenced from: <DB8164CB-3823-303E-BC5C-F1E83C5AAC12> /private/var/containers/Bundle/Application/C6C4F1C6-B520-42B8-8C99-EC5AB4844 BBE/MasterApp.app/Frameworks/SampleModules.framework/SampleService
  Expected in: <670BC612-DE7F-305E-8F29-A7E96AF189B0> /private/var/containers/Bundle/Application/C6C4F1C6-B520-42B8-8C99-EC5AB4844BBE/ MasterApp.app/Frameworks/RealmSwift.framework/RealmSwift

Can you reproduce the bug?

Always

Reproduction Steps

◇ Step.1 Update (or Install) RealmSwift
i. Update or install RealmSwift ver 10.49.1 in “SampleModules.framework” (pod install)
ii. Update or install RealmSwift ver 10.49.1 in “RealmSwift in MasterApp.app” (pod install)
◇ Step.2 Build app
i. Build “SampleModules.framework” and export the framework.
ii.Import SampleModules.framework into MasterApp.app
Build MasterApp.app.

Version

RealmSwift : ver10.50.0

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

macOS Sonoma : 14.3.1

Build environment

Xcode : 15.2
CocoaPods : 1.15.2

Copy link

sync-by-unito bot commented Jun 7, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant