when try emulate phonegap/cordova project sudo phonegap run ios --verbose console log:
an error encountered processing command (code=146): invalid device state enoent, no such file or directory '/users/<user>/library/logs/coresimulator/61a2a261-c1d4-4e31-b5da-4c97191f1656/system.log' error code 1 command: ios-sim args: launch,/users/<user>/.../mobile/platforms/ios/build/emulator/hello world.app,--devicetypeid,com.apple.coresimulator.simdevicetype.iphone-5,--stderr,/users/<user>/.../mobile/platforms/ios/cordova/console.log,--stdout,/users/<user>/.../mobile/platforms/ios/cordova/console.log,--exit command finished error code 2: /users/.../ios/cordova/run --target=iphone-5 error running 1 or more of platforms: error: /users/<user>/.../mobile/platforms/ios/cordova/run: command failed exit code 2 may not have required environment or os run project and app don't start. can access ios-sim (v4.1.1), cordova (v5.1.1) , phonegap (5.1.1-0.29.0) via console.
another strange thing when go run configuration in intellij, there warning: cannot detect ios-sim in path. xcode , developer tools up-to-date. i'm using mac os x yosemite. can me?
you can try
npm install -g ios-sim npm install -g ios-deploy
Comments
Post a Comment