question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xcode 10 libfishhook.a cannot be found

See original GitHub issue

Environment

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

  1. react-native init App
  2. Open Xcode 10 OR react-native run-ios with Xcode 10 CLI
  3. Run App

Expected Behavior

App should run

Actual Behavior

Produces error as shown below: screen shot 2018-06-05 at 6 23 59 pm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:69
  • Comments:53 (4 by maintainers)

github_iconTop GitHub Comments

585reactions
Furqankhanzadacommented, Sep 19, 2018

Remove and add again libfishhook.a from Xcode and the path issue will resolve.

41004316-d626d112-68ef-11e8-8a5e-397a55777bc4

547reactions
smjenkinscommented, Sep 19, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found