I have created a new react-native app and when I try to run the app on an iOS emulator it doesn't seem to run and causes an error.
When I open Xcode I seem to get the following error.
I have never come across this error before and I have googled it and it seems that no one has come across this problem and I can't find a fix.
First, make sure to install node_modules and pod files using this command from your project's root directory.
npm install && cd ios && pod install && cd..
then open your project by clicking on the your-projectName.xcworkspace
file NOT the.xcodeproject file
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.