-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Dynamic Linking for iOS is broken on React Native 0.71.1
#35930
Comments
Hi @imWildCat, thank you for opening the issue. The Old Architecture is working with |
@cipolleschi thanks for your reply! I was trying to build React Native binaries to save the overall project compile time. |
I did some tests today and the current situation is that dynamically linked frameworks stopped working in 0.70, when Hermes is enabled and stopped also for JSC from 0.71. I'm still trying to figure out what happened, but it is not trivial and the issue is highlighting other problems in the codebase. Is in our intention to try to solve this regression, but, unfortunately, it could take some time to have them back online. I'm sorry for this disruption. :( |
No worries! Thanks in advance! I'm also glad to help but not sure where to get started. |
I am having similar issues on react-native 0.65. I have been wondering if it could be related to Xcode 14.2? |
Same problem, took a while to hunt this down but the dynamic linking setting created lots of funny linker errors after upgrading the RN version. E.g., "Undefined symbol: facebook::jsi::Value::Value(facebook::jsi::Runtime&, facebook::jsi::Value const&)". https://gist.githubusercontent.com/extremeheat/ad48c8e69fd7319e7af0bafd65636edd/raw |
Yeah, we know. I have a few changes almost ready that would fix it. They may be ready for 0.71.3 as we are about to release 0.71.2 this week. I'm sorry for the disruption. |
You can look up how it is going, following this PR: #36003 😉 |
@imWildCat can you try 0.71.2 and tell us if it's fixed now? |
Huge thanks @cipolleschi @kelset ! I queued a build at imWildCat/ReactNative-Binary#25 with 0.71.2 Will let you know when I have the result |
Sorry for the delay. I believe this issue has been addressed. My testing PR is still failing due to a different issue, IMO. |
This issue has been resolved. Should be a transient issue of GitHub Actions. |
Description
After running pod install with dynamic linking (
NO_FLIPPER=1 RCT_NEW_ARCH_ENABLED=0 USE_FRAMEWORKS=dynamic bundle exec pod install
), the app cannot be built.Version
0.71.1
Output of
npx react-native info
Steps to reproduce
npx react-native init DemoRN0711 --skip-install
cd DemoRN0711 && yarn install
cd ios
NO_FLIPPER=1 RCT_NEW_ARCH_ENABLED=0 USE_FRAMEWORKS=dynamic bundle exec pod install
xcodebuild archive -workspace DemoRN0711.xcworkspace/ -scheme DemoRN0711 -configuration Release -archivePath ./DemoRN0711-iphoneos.xcarchive -sdk iphoneos ENABLE_BITCODE=NO SKIP_INSTALL=NO ARCHS=arm64 CODE_SIGNING_ALLOWED=NO CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO SUPPORTS_MACCATALYST=NO | xcbeautify
Snack, code example, screenshot, or link to a repository
DemoRN0711.zip
The text was updated successfully, but these errors were encountered: