realm / realm-swift

Realm is a mobile database: a replacement for Core Data & SQLite
https://realm.io
Apache License 2.0
16.3k stars 2.14k forks source link

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

Open duncangroenewald opened 2 hours ago

duncangroenewald commented 2 hours ago

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

sync-by-unito[bot] commented 2 hours ago

➤ PM Bot commented:

Jira ticket: RCOCOA-2442