1

I created a completely new react-native project using:

react-native init demo

After the successful creating I can run it using the react-native cli.

cd demo && react-native run-ios

When I try to open the ios library in Xcode and click on the build button I get the following error:

Library not found for -lDoubleConversion

Is there a way to build the project using XCode? What could be the reason for my error?

All my packages are updated to the latest versions. (Xcode, react-native, node).

Cœur
  • 37,241
  • 25
  • 195
  • 267
Yaron
  • 1,655
  • 6
  • 20
  • 38

1 Answers1

1

If the React native version is 0.59 or later, there may be some problems.

just open the MyAppName.xcworkspace instead of MyAppName.xcodeproj, and then, building.

hong developer
  • 13,291
  • 4
  • 38
  • 68