cordova - ios-sim launch Error=ExecutableTwiddleFailed, ErrorDescription=Failed to chmod file-No such file or directory -


i new using ios-sim command directly run ios app file in simulator.

i have installed ios-sim following this link. when fire following command run app in simulator:

ios-sim launch /users/path/desktop/myapp.es.app

the simulator starts , following error , simulator stops:

    session not started: error domain=launchserviceserror code=0  "the operation couldn’t completed. (launchserviceserror error 0.)"  userinfo=0x7fcd59506e90 {error=executabletwiddlefailed,  errordescription=failed chmod  file:///users/path/library/developer/coresimulator/devices/88d95c8e-de0e-4687-9fa5- 990a45e3bbb4/data/library/caches/com.apple.containermanagerd/temp/bundle/application/b025f33f-f9f3-4273-9d72- d824fcd2e508/myapp.es.app/myapp.es : no such file or directory} 

where getting wrong? how solve this?

i ran problem. can check see if file there using finder:

  1. locate .app directory
  2. right-click > show package contents
  3. you should see unix executable file within directory same name .app directory.

in case using cordova build project. trying use ios-sim run build located under platforms/ios/build/release-iphonesimulator when should have been using build located in platforms/ios/build/emulator/


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -