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

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

Open
shijian123 opened this issue Nov 1, 2024 · 11 comments
Open

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

shijian123 opened this issue Nov 1, 2024 · 11 comments

Comments

@shijian123
Copy link

How frequently does the bug occur?

Always

Description

截屏2024-11-01 16 01 30

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: ...

Copy link

sync-by-unito bot commented Nov 1, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2452

@tentenlee100
Copy link

same issue on ios 14.8.1, but ios 15.7 is fine

@GordonLJY
Copy link

GordonLJY commented Nov 4, 2024

Happens on my side too. Works well on iOS 15 or later, but crashes when running on iOS 14.x.

@lucasbunq
Copy link

I'm running into the same issue. Xcode 16.1 + Realm 10.54.1 + iOS 14.X.

@hrjun
Copy link

hrjun commented Nov 6, 2024

Same issue on Xcode 16.1 + Realm 10.54.1 + iOS 14.8.1, but works fine with Xcode 16.0.

@lkuraer
Copy link

lkuraer commented Nov 6, 2024

Same issue on Xcode 16.1 + Realm 10.53.0 + iOS 14x, but works fine with other ios versions

@kingnight
Copy link

Same issue on Xcode 16.1 + Realm 10.54.1 + iOS 14.4, please fix

@AndreasVerhoeven
Copy link

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

@kingnight
Copy link

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 ?

@akinoavx13
Copy link

I wanted to check if there are any updates or workarounds for this issue?

@ZhangPan0825
Copy link

The same issue exists on Xcode 16.1+Realm 10.52.3+iOS 14x

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

10 participants