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 2018/12/23 05:23:41 UTC

[GitHub] knight9999 edited a comment on issue #486: Cordova run does not work

knight9999 edited a comment on issue #486: Cordova run does not work
URL: https://github.com/apache/cordova-ios/issues/486#issuecomment-449615165
 
 
   Thanks for the comment @dpogue  .
   
   To get the .ipa file, as you mentioned, I *must* create an archive and then export it.
   
   On the other hand, ios-deploy needs .app package, not the .ipa file.
   
   I can get .app package by unzipping .ipa file (.app package can be found in Payload directory) as cordova/lib/run.js.
   But ios-deploy does not work with this .app pacakge when we use xcode 10. (This works if we build the app by using xcode 9.)
   Therefore I use `xcodebuild build` command to get .app package directly.
   Then ios-deploy works with *this* .app package. 
   I have checked on both xcode 9 and xcode 10.
   
   Now I care about all `--emulator --debug`, `--device --debug` and `--device --release`.
   (BTH `--emulator --debug` in some environment does not work.
   This is because that the default emulator in`list-emulator-build-targets` is different from the
   default emulator In `list-emulator-images`. I will create another issue about this. )

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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