-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Xcode 16.1] iOS 14.6 crashing with Realm 10.45.1 #8708
Comments
➤ 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 |
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 |
This is currently blocking us from releasing our app that is needing to support iOS 14 |
I set the “minimum developments” to 13 or more and it stopped crashing. |
It was reported for iOS13 in the duplicate 8723
that didn't fix things for me. I get the same crash in |
You can archive using Xcode Cloud with Xcode 15, it works. |
I am building now with the released Xcode 16.2
Reverting to Xcode 16.0 and testing with Realm 10.48.2 does not crash - it was some change in Xcode 16.1 causing the problem. Note Apple submission rules say, currently
So we have a second workaround if necessary, although that means missing out on the new icon handling of Xcode 16 |
Version 10.38.3 is the highest release that builds and runs with Xcode 16.2 on iOS14. v10.39.1 introduced a compilation failure on older OS that wasn't fixed until 10.40.1. The problem causing Xcode 16.1/2 to cause crashes was introduced somewhere between 10.38.3 and 10.40.1 I am unable to test my iOS 12 and 13 devices with that Xcode due "could not locate device support files". |
Has the reported bug been fixed in version 10.54.2 released last week? |
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: ...
The text was updated successfully, but these errors were encountered: