Log:
Scanning folders for symlinks in /Users/../../../__app__/node_modules
Found Xcode workspace Name.xcworkspace
CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/XRPackageModel 9.0.omo'
Could not find iPhone 6 simulator
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! AppName@10.0.17 start:ios: `react-native run-ios && react-native log-ios`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the AppName@10.0.17 start:ios script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/../.npm/_logs/2019-11-19T11_21_06_483Z-debug.log
Checked here: https://github.com/react-native-community/cli/issues/739 but I'm not sure if this is my exact issue.
Beginner to react-native following the getting started guide here https://facebook.github.io/react-native/docs/getting-started.html
Trying to set up the environment for another app on GitHub I'm working on and running into a couple of issues.
Steps I've already taken (to run on ios).
- I've installed the dependencies in project directory
- Set up .env for local dev
- Installed cocoapods
sudo gem install -n /usr/local/bin cocoapods
- pod install
cd ios && pod install
Now when I try to run the emulator using this command: npm run start:ios
With this script: react-native run-ios && react-native log-ios
in package.json
Xcode is closed while trying to do all of this.