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

libswift_Concurrency.dylib could not be loaded #8738

Open
ripplek opened this issue Jan 9, 2025 · 3 comments
Open

libswift_Concurrency.dylib could not be loaded #8738

ripplek opened this issue Jan 9, 2025 · 3 comments

Comments

@ripplek
Copy link

ripplek commented Jan 9, 2025

How frequently does the bug occur?

Always

Description

dyld: lazy symbol binding failed: can't resolve symbol _$sScMMa in /private/var/containers/Bundle/Application/4B5CDE7E-4EE1-4BD0-AD7B-F8A577D78BB7/BGIM.app/Frameworks/RealmSwift.framework/RealmSwift because dependent dylib /usr/lib/swift/libswift_Concurrency.dylib could not be loaded
dyld: can't resolve symbol _$sScMMa in /private/var/containers/Bundle/Application/4B5CDE7E-4EE1-4BD0-AD7B-F8A577D78BB7/BGIM.app/Frameworks/RealmSwift.framework/RealmSwift because dependent dylib /usr/lib/swift/libswift_Concurrency.dylib could not be loaded

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

image

iOS 18.2 works perfectly fine under the same conditions, but iOS 14.2 does not

In RealmSwift 15.2.1 and iOS 14.2 in the debug environment, this issue also reoccurs, but after the app is packaged and released to the AppStore, it is fine. I recently upgraded RealmSwift to 15.3.1, and in time for the app to be packaged and released to the AppStore, iOS 14.2 isn't working either

Version

10.53.1

What Atlas Services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

iOS 14.2

Build environment

Xcode version: 16.2 (16C5032a)

@ripplek
Copy link
Author

ripplek commented Jan 9, 2025

[Xcode 16.1] iOS 14.6 crashing with Realm 10.45.1 #8708

@ForAllKid
Copy link

ForAllKid commented Jan 13, 2025

using Xcode 16.0 and Realm 20.0.1. Then
In Build Phases -> Link Binary With Libraries, add libswift_Concurrency.tbd and change its status to Optional.
It works for iOS 13, but I want to understand why.

@ripplek
Copy link
Author

ripplek commented Jan 14, 2025

using Xcode 15.2 and Realm 10.53.1.
It works for iOS 14.2
I think it's probably an Xcode bug @ForAllKid

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

2 participants