-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Build fail on Xcode 12.5 with OpenSSL 1.1.x #3146
Comments
@bingluen It's a known issue on React Native with Xcode 12.5. |
@diegolmello |
Same issue in Xcode: 12.4 after pod deintegrate and pod install |
I found solution by changing this line it works => use_flipper!({ 'Flipper-Folly' => '2.2.0' }) because it need OpenSSL-Universal (1.0.2.19). Tested on Xcode 12.4 |
@rajesh-puranik Can you contribute back with a PR? |
@diegolmello created PR #3163 |
This did not work for me. I am seeing
|
Same here! Xcode 12.5 and M1: objc[52013]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x20ca22c10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x119db82b8). One of the two will be used. Which one is undefined. |
I don't recommend using Xcode 12.5 (you can download 12.4) or new Flipper versions yet (I'm running v0.57 fine here). |
I will give a try! thank you @diegolmello ! |
So after a lot of tries, is working now, after a fresh clone - without change Flipper. Xcode 12.4 Mac Mini M1. All the Problems are because of the M1... The Solution...Cocoapods doesnt work with M1 so we should install it with a Rosetta Terminal and exclude arm64 architectur for the project. I excluded it an all Targets and Pod file. Here more: https://narlei.com/development/apple-m1-xcode-error-when-build-in-simulator/ After that, I can build without problems in Rosetta Terminal and Rosetta Xcode |
Fixed by #3245 |
This fix is not part of the |
No, it's not released yet. |
Will there be any announcement of this being merged into single-server? |
We update |
In order to support Xcode 12.5, flipper have to upgrade to new version. [1][2][3]
Unfortunately, the version 1.1.x of OpenSSL is need by the new versions of flipper (such as 0.87.0) that support Xcode 12.5. [4]
react-native-simple-crypto
[5], dependency of Rocket.Chat.ReactNative, using OpenSSL 1.0.x APIs, but there are some breaking change between 1.0.x and 1.1.x. [6]Ref:
[1] facebook/flipper#2215
[2] facebook/folly#1527
[3] https://stackoverflow.com/questions/66019068/event2-event-config-h-file-not-found
[4] https://github.com/facebook/flipper/blob/v0.87.0/iOS/Podspecs/Flipper-Folly.podspec#L19
[5] https://github.com/RocketChat/react-native-simple-crypto/blob/master/ios/RCTCrypto/RCTRsaUtils.swift
[6] https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes#Compatibility_Layer
The text was updated successfully, but these errors were encountered: