Open shijian123 opened 3 weeks ago
➤ PM Bot commented:
Jira ticket: RCOCOA-2452
same issue on ios 14.8.1, but ios 15.7 is fine
Happens on my side too. Works well on iOS 15 or later, but crashes when running on iOS 14.x.
I'm running into the same issue. Xcode 16.1 + Realm 10.54.1 + iOS 14.X.
Same issue on Xcode 16.1 + Realm 10.54.1 + iOS 14.8.1, but works fine with Xcode 16.0.
Same issue on Xcode 16.1 + Realm 10.53.0 + iOS 14x, but works fine with other ios versions
Same issue on Xcode 16.1 + Realm 10.54.1 + iOS 14.4, please fix
The issue is caused by Xcode 16.1 trying to link in the Swift Concurrency back deployment library in iOS < 15. It does this by incorrectly linking to /usr/lib/swift_Concurrency.lib while it should link to @rpath/swift_Concurrency.lib.
I haven't seen this in other SPM packages, so it's likely a combination of this SPM package's configuration + a bug in Xcode 16.1
The issue is caused by Xcode 16.1 trying to link in the Swift Concurrency back deployment library in iOS < 15. It does this by incorrectly linking to /usr/lib/swift_Concurrency.lib while it should link to @rpath/swift_Concurrency.lib.
I haven't seen this in other SPM packages, so it's likely a combination of this SPM package's configuration + a bug in Xcode 16.1
any workaround can take ?
I wanted to check if there are any updates or workarounds for this issue?
The same issue exists on Xcode 16.1+Realm 10.52.3+iOS 14x
How frequently does the bug occur?
Always
Description
Try adding the -Wl,-ld_classic options to the OTHER_LDFLAGS build in the project settings. Still doesn't work
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
10.45.1
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Xcode16.1 IOS14.6
Build environment
Xcode version: ... Dependency manager and version: ...