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

v10.49.3 crashing when Embed & Signing a RealmSwift that is not the main target #8577

Open
asa08 opened this issue May 7, 2024 · 1 comment

Comments

@asa08
Copy link

asa08 commented May 7, 2024

How frequently does the bug occur?

Always

Description

RealmSwift depends on a target that is not the main target. (e.g., Infrastructure)
I have Embed & Sign for RealmSwift on the Infrastructure target, but it crashes when the app starts.

Stacktrace & log output

dyld[2961]: Library not loaded: @rpath/Infrastructure.framework/Infrastructure
  Referenced from: <63B3C3C8-BE5C-3BF8-87BD-9AF5C3B57E0C> /private/var/containers/Bundle/Application/EEB879BC-D9AC-4630-8D20-11A86A22FC94/xxx.app/xxx
  Reason: tried: '/Users/mu/Library/Developer/Xcode/DerivedData/xxx-feuqerdwmpwsyaeyydukbkobacbg/Build/Products/Debug-iphoneos/PackageFrameworks/Infrastructure.framework/Infrastructure' (no such file),

Can you reproduce the bug?

Always

Reproduction Steps

Main Target

  • Infrastructure.frameworks (Enbed & Sign)

Infrastructure Target

  • Realm Swift (Enbed & Sign)

Version

10.49.3

What Atlas Services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

macOS 14.4.1

Build environment

Xcode version: 15.3
Dependency manager and version: SwiftPM
Realm 10.49.3
RealmDatabase 14.5.2

Copy link

sync-by-unito bot commented May 7, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2352

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