flipper: OpenSSL error on iOS
🐛 Bug Report
The iOS app is building but it receives a SIGABRT giving to the following error:
dyld: Library not loaded: @rpath/OpenSSL.framework/OpenSSL
Referenced from: /private/var/containers/Bundle/Application/6CE80915-A8A6-493A-8645-A9DAD0156E5E/limpo.app/limpo
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/6CE80915-A8A6-493A-8645-A9DAD0156E5E/limpo.app/Frameworks/OpenSSL.framework/OpenSSL: mach-o, but not built for platform iOS
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/GPUTools.framework/libglInterpose.dylib:/usr/lib/libMTLCapture.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
(lldb)
Thus the app don’t run, it keeps on a white screen.
To Reproduce
- Build and run the app through xcode
Environment
- iOS 14.4.1
- Flipper 0.82.0
- Big Sur 11.2.3
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 5
- Comments: 19 (3 by maintainers)
This solved this for me:
Good luck 🤞
Hi @iagormoraes , I am having exactly the same problem as yours. Did you find any solution for this?
The problem still exist with the latest version
This is still an issue:
Library not loaded: @rpath/OpenSSL.framework/OpenSSLSteps to Reproduce:
Create a react native project:
react-native init NewProjectInstall react-native cli globally
sudo npm i -g react-native-cliOpen XCode -> Run the Project against Simulator or Real Device -> App will open and freeze with console giving following error:
Library not loaded: @rpath/OpenSSL.framework/OpenSSL Referenced from: /private/var/containers/Bundle/Application/55E79F83-07B7-42D1-A4E7-D3538C0D1A11/NewProject.app/NewProject Reason: tried: '/usr/lib/swift/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/55E79F83-07B7-42D1-A4E7-D3538C0D1A11/NewProject.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/usr/lib/swift/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/55E79F83-07B7-42D1-A4E7-D3538C0D1A11/NewProject.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/System/Library/Frameworks/OpenSSL.framework/OpenSSL' (no such file)Also worth noting the app crashes when
react-native run-iosexecuted.Versions:
“react”: “17.0.2” “react-native”: “0.67.2” node -v: v16.13.2 nvm -v: 0.39.1 npm -v: 8.1.2 MacOS: 11.6.2
I am facing this issue with on Test flight release. App Crashes when opened after install. I am not facing any kind of issues during development. only happens in release build. I am using xcode Version 14.0.1 (14A400) Flipper 0.157.0 React Native 69.5 Mac OS monterey
I have the same issue. Why is this closed ? I don’t see any solution provided.
Hello,
I have solved the problem by following command :
Remove extra library (if added by you manually) from Xcode -> Build Phases -> Embed Frameworks
Solution :
Close XCode Goto Vscode Write following command cd ios && pod deintegrate pod install cd …/ xed ./ios
XCode will open then simple clean the build & run.
I hope this will help somebody!!!
Hello! I had the same problem, but I solved it and told about it here. I hope this helps someone!