Reputation: 61
I want to run my react native app. when I run it by Xcode it shows something linker error and solution of that finds running by xcworkspace file.
something happens when I run this by react-native run-ios command
And in my project this file is not there in iOS folder.
react-native version: 0.60.4
Upvotes: 3
Views: 6219
Reputation: 1760
Please try to see you error log if you are facing iphoneos" cannot be located than try below one line code that will solve your problem
sudo xcode-select --switch /Applications/Xcode.app
Upvotes: 0
Reputation: 2065
Goto ios Directory : cd ios
Run Command : pod install
Now app.xcworkspace file available in your project ios folder
if pod file not available then first you need to run init command
Run Command : pod init
Run Command : pod install
Now app.xcworkspace file available in your project ios folder
Upvotes: 1