0

steps to reproduce:

react-native init FirstProject cd FirstProject open ios/FirstProject.xcodeproj

... Xcode opens the project:

enter image description here

I select build target iOS Simulator -> Iphone XR

A terminal window opens in the background:

enter image description here

However, Xcode returns a build error:

ld: library not found for -lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)

shown with warnings here https://gist.github.com/jasonfb/7b51a260df419590c6fadda93fb49348

enter image description here

1 Answer 1

2

You should be opening the workspace, not the project file as indicated per instructions at the end of the project creation script:

    • cd "/Users/xxx/FirstProject" && npx react-native run-ios
    - or -
    • Open FirstProject/ios/FirstProject.xcworkspace in Xcode or run "xed -b ios"
    • Hit the Run button```
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.