Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16922] iOS: Change default device from iTunes sync to the first connected device

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-05-12T19:44:31.000+0000
Affected Version/sn/a
Fix Version/s2014 Sprint 10, 2014 Sprint 10 Tooling, Release 3.3.0
Componentsn/a
Labelsqe-closed-3.3.0, qe-testadded
ReporterChris Barber
AssigneeChris Barber
Created2014-05-06T03:25:05.000+0000
Updated2014-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.

Comments

  1. Chris Barber 2014-05-12

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5672
  2. Chris Barber 2014-05-12

    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: 5. verify app was installed to your device 6. disconnect device 7. build again for device 8. verify it fails back to iTunes sync: [INFO] Building for device: itunes
  3. Tim Poulsen 2014-05-12

    Works as expected. ti build -T device builds and installs the app to my iPad (not iTunes).
  4. Priya Agarwal 2014-05-15

    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.

JSON Source