[TIMOB-16922] iOS: Change default device from iTunes sync to the first connected device
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-05-12T19:44:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2014 Sprint 10, 2014 Sprint 10 Tooling, Release 3.3.0 |
Components | n/a |
Labels | qe-closed-3.3.0, qe-testadded |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-05-06T03:25:05.000+0000 |
Updated | 2014-05-15T09:22:27.000+0000 |
Description
The default device for device builds is "iTunes sync". Side the node-ios-device library is pretty stable and works well, we should instead select the first connected iOS device and use that by default.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5672
To test: 0. turn on auto select: ti config ios.autoSelectDevice true 1. create an ios project 2. connect an ios device 3. build the app for that device: ti build -p ios -T device 4. verify in the output (near top) that the device was auto selected: [INFO] Building for device:
Works as expected.
ti build -T device
builds and installs the app to my iPad (not iTunes).Verified the FIXED with: Appc-Studio:3.3.0.201405121247 sdk:3.3.0.v20140514163013 acs:1.0.14 alloy:1.4.0-alpha npm:1.3.2 titanium:3.3.0-dev titanium-code-processor:1.1.1 xcode:5.1.1 Device:Iphone5(v7.1) Followed the above mentioned steps to reproduce. Working as per expected. Hence Closing the issue.