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

Compiling 10.42.4 with Xcode 16 produces frameworks that are only capable of running under macOS 15. #8697

Open
duncangroenewald opened this issue Oct 15, 2024 · 2 comments

Comments

@duncangroenewald
Copy link

How frequently does the bug occur?

Always

Description

I just tested build Realm and Realm-Swift frameworks (v10.42.4) with Xcode 16 on macOS 15 laptop using the 'sh build.sh osx-swift' command and the resulting frameworks appear to have a minimum deployment target of macOS 15.

Is there a way to changing that so the frameworks will run under macOS 14 ?

Stacktrace & log output

N/A

Can you reproduce the bug?

Always

Reproduction Steps

Install macOS 15 and Xcode 16 and clone or download the source files for Ream-Swift 10.42.4.

run 'sh build.sh osx-swift' from the real-swift-10.42.4 source folder as pre the build instructions.

Copy the built frameworks to an Xcode 16 project that has a target minimum deployment version set to 14.5. Build the project and you should get an error indicating the RealmSwift module has a minimum deployment target of macOS 15.

Version

N/A

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

macOS 15

Build environment

Xcode version: 16
Dependency manager and version: N/A

Copy link

sync-by-unito bot commented Oct 15, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2442

@duncangroenewald
Copy link
Author

It seems you can open the Xcode project and change the deployment target - but for some reason you may or may not get the deployment target options displaying in Xcode15 or 16 UI when running under macOS Sonoma.

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