title: ios-sim launch Error=ExecutableTwiddleFailed, ErrorDescription=Failed to chmod file-No such file or directory
body: <p>I am new to using <code>ios-sim</code> command to directly run an iOS app file in the simulator.</p>
  
  <p>I have installed <code>ios-sim</code> following <a href="https://github.com/phonegap/ios-sim" rel="nofollow">this</a> link. But when I fire the following command to run the app in simulator:</p>
  
  <p><code>ios-sim launch /Users/path/Desktop/myApp.es.app</code></p>
  
  <p>the simulator starts and I get the following error and then the simulator stops:</p>
  
  <pre><code>    Session could not be started: Error Domain=LaunchServicesError Code=0 
  "The operation couldn’t be completed. (LaunchServicesError error 0.)" 
  UserInfo=0x7fcd59506e90 {Error=ExecutableTwiddleFailed, 
  ErrorDescription=Failed to 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}
  </code></pre>
  
  <p>Where am I getting wrong? How do I solve this?</p>