-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
How frequently does the bug occur?
Always
Description
Hey Realm Team,
I was looking into getting Realm working with library evolution support. I am using a pre-built binary of Realm in my application. Every time I upgrade Xcode I need to rebuild Realm for this new version. Therefore I tried to build realm with library evolution support. But I cannot get it to work. What I do locally is to execute:
export REALM_EXTRA_BUILD_ARGUMENTS="$REALM_EXTRA_BUILD_ARGUMENTS REALM_BUILD_LIBRARY_FOR_DISTRIBUTION=YES"
build.sh xcframework ios watchos
Which I would assume should build an .xcframework which includes the frameworks for iOS and watchOS as well as should support upcoming Swift compiler versions.
The issue I see now, when I do this with Xcode 14.3 and then want to use the built .xcframework in the next Xcode version or even in Xcode 15, the compiler tells me that the compiler version that I built Realm with is not compatible.
Do I have a wrong understand of REALM_BUILD_LIBRARY_FOR_DISTRIBUTION or maybe do I execute the command wrong ?
Therefore I am not sure if it's a bug or me just doing something. Any help is appreciated !
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
10.38.0
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 16.5
Build environment
Xcode version: 14.3.0