Meteor Cordova Error Command Failed, ExitWithCode:1


#1

When trying to run my app on the ios simulator on mac I receive the following error

I am at the latest version of meteor

App rex$ sudo !!
sudo meteor run ios --settings settings.json
[[[[[ ~/Desktop/ST/App ]]]]]

=> Started proxy.
=> Started MongoDB.

WARNING: It looks like you are using OAuth2 login in your app. Meteor's OAuth2
         implementation does not currently work with mobile apps in local
         development mode, except in the iOS simulator. You can run the iOS
         simulator with 'meteor run ios'. For additional workarounds, see
         https://github.com/meteor/meteor/wiki/OAuth-for-mobile-Meteor-clients.
=> Started your app.

=> App running at: http://localhost:3000/
I20160423-08:33:33.947(-4)? [velocity] mocha is starting a mirror at http://localhost:62478/.
I20160423-08:33:33.948(-4)? [velocity] You can see the mirror logs at: tail -f /Users/rex/Desktop/ST/App/.meteor/local/log/mocha.log
I20160423-08:33:33.949(-4)? Kadira: completed instrumenting the app
I20160423-08:33:33.949(-4)? Kadira: Successfully connected
=> Errors executing Cordova commands:

   While running Cordova app for platform iOS with options --emulator:
   Error: Command failed:
   /Users/rex/Desktop/ST/App/.meteor/local/cordova-build/platforms/ios/cordova/run
   --emulator
   ENOENT, no such file or directory
   '/Users/rex/Library/Logs/CoreSimulator/9880709B-CB8E-442D-AFB2-8C74E589993C/system.log'
   Error code 1 for command: ios-sim with args:
   launch,/Users/rex/Desktop/ST/App/.meteor/local/cordova-build/platforms/ios/build/emulator/App.app,--devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/rex/Desktop/ST/App/.meteor/local/cordova-build/platforms/ios/cordova/console.log,--stdout,/Users/rex/Desktop/ST/App/.meteor/local/cordova-build/platforms/ios/cordova/console.log,--exit
   at ChildProcess.exitCallback
   (/Users/rex/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/utils/processes.js:150:21)
   at ChildProcess.emit (events.js:98:17)
   at Process.ChildProcess._handle.onexit (child_process.js:820:12)


ExitWithCode:1

This error has persisted for a while now and I’m not really sure what is causing it after trying trying to understand the error message. Maybe i’m lacking a file but I’m not sure how I can get this file in the first place.