Xcode 10 libfishhook.a cannot be found
See original GitHub issueEnvironment
OS: macOS 10.14 Node: 10.0.0 Yarn: Not Found npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 10.0 beta (10L176w) Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: 0.55.4 => 0.55.4
Description
When building/running an app in Xcode 10 beta, produces error
Build input file cannot be found: '/Users/qinguan/Desktop/reactnative/CodeCollab/node_modules/react-native/Libraries/WebSocket/libfishhook.a'
When using react-native run-ios
produces error
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze /Users/qinguan/Desktop/reactnative/CodeCollab/node_modules/react-native/React/Base/RCTModuleMethod.mm normal x86_64
(1 command with analyzer issues)
The following build commands failed:
Libtool /Users/qinguan/Desktop/reactnative/CodeCollab/ios/build/Build/Products/Debug-iphonesimulator/libRCTWebSocket.a normal x86_64
(1 failure)
However only happens when using Xcode CLI 10 or when trying to run with Xcode 10
Steps to Reproduce
react-native init App
- Open Xcode 10 OR
react-native run-ios
with Xcode 10 CLI - Run App
Expected Behavior
App should run
Actual Behavior
Produces error as shown below:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:69
- Comments:53 (4 by maintainers)
Top Results From Across the Web
Run react native app on Xcode 10 - Stack Overflow
For a solution, I copied the file from my ios/build/Build/Products/Debug-iphonesimulator/libfishhook.a and pasted it into .
Read more >[Solved]-Run react native app on Xcode 10 - appsloveworld
Manually copypasting libfishhook.a into the correct folder, as suggested here, worked for me: For a solution, I copied the file from my ios/build/Build/Products ......
Read more >XCODE 10 causes haywire for React Native Developers | by Rohit ...
Build input file double-conversion cannot be found. The first issue you might face is the Lexical or Preprocessor issue or Double Conversion not...
Read more >Xcode 10 libfishhook.a cannot be found - CSDN博客
1: Build input file cannot be found: '/...../node_modules/react-native/Libraries/WebSocket/libfishhook.a' ...
Read more >Xcode 10 libfishhook.a cannot be found - Qiita
Xcode 10 libfishhook.a cannot be found. sell. Xcode,reactnative. RTCWebSocket.xcodeproject -> RCTWebSocket -> Build Phasesを選択 -> Link Binary ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Remove and add again libfishhook.a from Xcode and the path issue will resolve.
For a solution, I copied the file from my ios/build/Build/Products/Debug-iphonesimulator/libfishhook.a and pasted it into …/node_modules/react-native/Libraries/WebSocket/ and got the build. I hope it helps.
I am using react-native-cli: 2.0.1 react-native: 0.55.4 macOS v.10.14 beta Xcode 10 beta
*Thank you for everyone that this solution helped…this is my first time adding to the community and man, it was dope to see all the emoji love