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/04/16 15:46:35 UTC

[GitHub] [cordova-ios] janpio opened a new issue #603: `cordova run ios --target ... --emulator` builds for different target

janpio opened a new issue #603: `cordova run ios --target ... --emulator` builds for different target
URL: https://github.com/apache/cordova-ios/issues/603
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   When I specify a `--target`, I expect the build to be for this target.
   
   ### What does actually happen?
   
   When using `--target` to specify a target, it builds for another simulator anyway.
   
   ```
   $ cordova run ios --no-telemetry --no-update-notifier --target iPhone-X --emulator
   Building for "iPhone SE" Simulator (com.apple.CoreSimulator.SimDeviceType.iPhone-SE, iPhone-SE)
   Building project: /private/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/tmp-1908WVzCBEz79LN5/platforms/ios/HelloCordova.xcworkspace
   	Configuration: Debug
   	Platform: emulator
   	Target: iPhone SE
   Running command: xcodebuild -workspace HelloCordova.xcworkspace -scheme HelloCordova -configuration Debug -sdk iphonesimulator -destination platform=iOS Simulator,name=iPhone SE build ...
   ```
   (from https://travis-ci.org/apache/cordova-paramedic/jobs/519983893)
   
   Fortunately this is often fine, as in the linked CI build, as the built app still can deploy and run on the simulator. 
   
   But in cases like #602 it breaks the deployment of the built app later.
   
   ## Information
   
   ### Version information
   
   CLI 9, cordova-ios 5.0.0
   
   
   ## 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


With regards,
Apache Git Services

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