-
Notifications
You must be signed in to change notification settings - Fork 576
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
Realm does not build on iOS with use_frameworks! :linkage => :static
as of version 12.12.0
#6808
Comments
➤ PM Bot commented: Jira ticket: RJS-2870 |
Thanks for reaching out and for the detailed reproduction!
Git blame suggests it's more likely that this is caused by changes introduced in #6737. We actually ended up not relying on those feature flags anyway - what happens if you simply delete that import? |
I have the same issue with |
I have the same issue with |
I have the same issue with |
Thanks for the quick response! I tested the build after deleting the import as you suggested, and the app successfully built and compiled. In the meantime, we've downgraded to v12.11.1, which is working for us. |
I have the same issue with |
I tried, but the error persists. I'm still trying to resolve it. |
A fix was released with v12.12.1 - please take it for a spin a report back if the issue persists 👍 |
For me, the issue persists on |
@kraenhansen Just validated that this fixed it for me! Thanks for the quick turnaround! |
How frequently does the bug occur?
Always
Description
Our React Native app fails to build when
use_frameworks! :linkage => :static
is set in the Podfile. This issue started occurring after upgrading to Realm JS v12.12.0. Given that this configuration was working in previous versions, we expected it to continue working after a minor version upgrade.I believe the issue was introduced by #6791.
This issue is critical for our project as we rely on react-native-firebase, which requires the use_frameworks! :linkage => :static configuration.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
I have created a minimal reproducible example to demonstrate the issue. The repository is available here, and it includes detailed instructions on how to reproduce the build failure.
Note: The example uses Expo with expo-build-properties to set use_frameworks!, but the issue persists regardless of this context.
Version
12.12.0
What services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
iOS only
Build environment
No response
Cocoapods version
1.15.2
The text was updated successfully, but these errors were encountered: