You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/20 17:18:45 UTC

[GitHub] [cordova-cli] daviesdoclc opened a new issue #525: cordova run ios fails to deploy to device and tries to run emulator

daviesdoclc opened a new issue #525:
URL: https://github.com/apache/cordova-cli/issues/525


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   I just upgrade to cordova-cli@10.0.0 as well as cordova-ios@6.1.0.  I'm now having problem deploying to my device. I expect "cordova run ios" to work as it previously did.
   
   ### What does actually happen?
   
   Instead, when I run "cordova run ios" I get:
   ```
   Running command: ios-deploy -c -t 1
   [....] Waiting up to 1 seconds for iOS device to be connected
   [....] Found 00008020-000A0DE80E78003A (N841AP, iPhone XR, iphoneos, arm64e) a.k.a. 'iPhone' connected through USB.
   Running command: unzip -o -qq /Users/daviesd/workspace/mobile/digby/src-cordova/platforms/ios/build/device/Digby.ipa
   Deploying to simulator
   No target specified for emulator. Deploying to "iPhone-XR, 12.0" simulator.
   Running command: /Users/daviesd/workspace/mobile/digby/src-cordova/node_modules/ios-sim/bin/ios-sim launch /Users/daviesd/workspace/mobile/digby/src-cordova/platforms/ios/build/emulator/Digby.app --devicetypeid com.apple.CoreSimulator.SimDeviceType.iPhone-XR, 12.0 --log /Users/daviesd/workspace/mobile/digby/src-cordova/platforms/ios/cordova/console.log --exit
   Error: Unhandled error. ('[ios-sim] /Users/daviesd/workspace/mobile/digby/src-cordova/platforms/ios/build/emulator/Digby.app/Info.plist file not found.\n')
   ```
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   It appears like it finds my device, but then it switch to deploying to the simulator (which also fails -- not sure why).  If I do "cordova run ios" WITHOUT my device plugged in, it deploys to the simulator just fine.  I can also run the app from Xcode.  It just seems to be an issue with deploying to my device from the cli.
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ```cordova run ios```
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Platform iOS
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   cli: 10.0.0
   cordova-ios: 6.1.0
   macOS: 10.15.6
   Xcode: 11.6
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
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



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


[GitHub] [cordova-cli] daviesdoclc closed issue #525: cordova run ios fails to deploy to device and tries to run emulator

Posted by GitBox <gi...@apache.org>.
daviesdoclc closed issue #525:
URL: https://github.com/apache/cordova-cli/issues/525


   


----------------------------------------------------------------
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



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


[GitHub] [cordova-cli] daviesdoclc commented on issue #525: cordova run ios fails to deploy to device and tries to run emulator

Posted by GitBox <gi...@apache.org>.
daviesdoclc commented on issue #525:
URL: https://github.com/apache/cordova-cli/issues/525#issuecomment-677854637


   Seems like once this is merged it will fix the issue https://github.com/apache/cordova-ios/pull/936.  I tested locally and it does. Bleh! 


----------------------------------------------------------------
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



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