You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/30 08:47:55 UTC

[GitHub] [cordova-ios] chawax opened a new issue #677: `cordova build` tries to run app when a device is connected

chawax opened a new issue #677: `cordova build` tries to run app when a device is connected
URL: https://github.com/apache/cordova-ios/issues/677
 
 
   When I have a iPhone device connected to my desktop and I run `cordova build ios` command, it tries to run the app on device while it should just build the application.
   
   So I have an error message because `ios-deploy` is not installed on my desktop.
   
   ```
   [Error] Error: Command failed: cordova build --buildFlag='-UseModernBuildSystem=0' ios
   CordovaError: Promise rejected with non-error: 'ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/ios-control/ios-deploy into your path, or do \'npm install -g ios-deploy\''
       at cli.catch.err (/Users/othierry/.nvm/versions/node/v8.12.0/lib/node_modules/cordova/bin/cordova:29:15)
       at <anonymous>
       at process._tickCallback (internal/process/next_tick.js:189:7)
   ```
   
   I use Cordova 9 with Cordova iOS platform 5.0.1.
   
   I had not this problem with previous Cordova releases.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org