@dylanthepiguy2 wrote:
Hi, I am a student and I just started with ionic today. I have no experience with command line usage so I am pretty stumped here.
When I try to run the basic template (tabs) with:
sudo ionic platform add ios sudo ionic build ios sudo ionic emulate ios
(these don't work without having the sudo there)
the last one produces this in the logs (among other stuff above):** BUILD SUCCEEDED ** No target specified for emulator. Deploying to iPhone-6 simulator An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159): Invalid device state An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159): Invalid device state ENOENT: no such file or directory, stat '/Users/Dylan/Library/Logs/CoreSimulator/D0923A6C-7738-41BA-8134-ED747069991A/system.log' Error code 1 for command: ios-sim with args: launch,/Users/Dylan/myApp/platforms/ios/build/emulator/myApp.app,--devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/Dylan/myApp/platforms/ios/cordova/console.log,--stdout,/Users/Dylan/myApp/platforms/ios/cordova/console.log,--exit Error: /Users/Dylan/myApp/platforms/ios/cordova/run: Command failed with exit code 2
Is this a good place to ask for help? If so, do you have any suggestions?
Posts: 1
Participants: 1