-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[SOLVED] 0.61.5 to 0.62.2 upgrade error: OpenSSL-Universal ENABLE_BITCODE #28824
Comments
|
Bad bot. I already share info! |
Just noting that the solution was added to the bottom of the description, thanks for tracking it down @ezranbayantemur! |
For changing the debug to No, triggered 14 other issues. Didn't solve my problem. I am stuck because I have this issue. Seems as if it's not ready for React Native 0.62.2 |
What kind of issues? |
Removing because I think I posted in wrong repo, moved comment to https://github.com/facebook/flipper/issues/485 |
In my case, there was a OneSignal extension, so, you must change that config there too. |
Same issue to me. another 16 other issues comes when set the debug to No |
remove flipper works for me, although it's not a perfect solution.... |
Did this ever get fixed? I would prefer not to rip out flipper nor disable bitcode (isn't it a requirement for submitting to the App Store?) |
You can disable bitcode for debug build only, though this is not optimal solution. |
Definitely agree with others. I'd rather not remove flipper or disable bitcode. This issue should be re-opened |
Why is it closed? |
I've found a solution for it but looks like it's works only for me. So I'm re-opening it for you guys. |
Running into this after I updated Xcode to v12.
On |
This might be use full for you guys |
I'm seeing the same linker error as @justinjoyn after upgrading xcode to 12.0. On |
removing flipper solve the problem, |
Any solutions? |
Same error while upgrading from 0.62.2 to 0.63 on Xcode 11.7 |
Am also experiencing this error Upgraded from RN 61.4 to 63.3 and also upgraded to xCode 12.0.1
|
use_flipper! |
comment out these lines
then
then clean project |
Do you need help upgrading to a newer React Native version? Visit the Upgrade Support repository or use the upgrade helper to see the changes that need to be made to upgrade your app. |
im experiencing this too. i already tried remove node_modules then npm install then pod install then build error still exist |
It occurs after upgrade the macOS Mojave to maOS Catalina. (xCode 11 to xCode 12) I move the whole project file and just try to build.
I removed the pod.lock file and pod install And failed. Please help!! |
I'm also running into this issue today. The issue shouldn't be closed or marked SOLVED |
The solution just downgrade OpenSSL version to 1.0.2.18 it will working fine |
Hi guys, |
this might be useful |
There are a few solutions you can try, but the problem is with the pod OpenSSL-Universal 1.0.2.19 in a dependency somewhere. I'd suggest:
Most likely the dependency has been update in the new pods pulled down from the above. (I think it might be flipper that updates that had the wrong dependency in the past which is why people fix it by disabling flipper) You can also set the openssl dependency manually in the Podfile: Then run pod install again. Either works, but the first suggestion, if works, lets the openssl dependency auto upgrade in the future. Here is the full discussion at openssl land: krzyzanowskim/OpenSSL#65 |
ld: in /Users/mac/Desktop/react native/Connect360/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(cryptlib.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/mac/Desktop/react native/Connect360/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64 Info System: I am facing this issue after updating Xcode 11 to Xcode 12 |
For me following works: in the podfile add: In Xcode under build settings |
Since it seems Flipper related, updating Flipper (currently 0.79.1) and making changes to |
--> in case anyone encounter this issue in the future, there were suggestion to delete Flipper or change version to but in my case what you can do instead is use the latest version as of writing |
After updating 0.61.5 to 0.62.2 with Upgrade Helper, ENABLE_BITCODE error drives me crazy. Looks like it happens because of switching to
OpenSSL-Universal (1.0.2.19)
fromopenssl-ios-bitcode
. Not any problem while creating fresh project but it happens on upgrading to 0.62.2.It happens only debug mode on real iOS device
Trying to run on debug mode it gives error message on below.
ld: '... project path .../ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(bio_lib.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
It tried
pod cache clear openssl-ios-bitcode
by #27565 (comment) but it couldn't findopenssl-ios-bitcode
pod.Any idea about it?
Pods
Info
SOLVED
Changing bitcode settings "No" for Debug mode solved the problem.
The text was updated successfully, but these errors were encountered: