Titanium JIRA Archive
Appcelerator Community (AC)

[AC-370] CLI builds only for one device

GitHub Issuen/a
TypeStory
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2015-11-10T08:37:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterSebastian Klaus
AssigneeMostafizur Rahman
Created2015-09-21T07:55:24.000+0000
Updated2015-11-10T08:37:44.000+0000

Description

Operating System
  Name                        = Mac OS X
  Version                     = 10.10.5
  Architecture                = 64bit
  # CPUs                      = 8
  Memory                      = 17179869184
Node.js
  Node.js Version             = 0.10.38
  npm Version                 = 1.4.28
Titanium CLI
  CLI Version                 = 5.0.3
Titanium SDK
  SDK Version                 = 5.0.0.GA
  SDK Path                    = /Volumes/Data/Users/sebastian/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.GA
  Target Platform             = iphone
The CLI command
appc ti build -p ios -T simulator -S 8.4 -Y ipad
ignores the Y parameter. On my system, the iPhone simulator is started every cli build

Comments

  1. Rakhi Mitro 2015-09-21

    Hello, Tested this issue.To build for an [iOS simulator](http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_CLI_Tasks-section-43306725_AppceleratorCLITasks-iOSSimulator) run *appc run -p ios*. Because no other options were specified, the CLI launches the application on the default iOS simulator. To use a specific simulator, add the -C option.
       appc run -p ios -C "D27F9E87-7E09-48D8-9DD1-10277A0B51A
       
    To build for an [iOS device](http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_CLI_Tasks-section-43306725_AppceleratorCLITasks-iOSDevice) , run:
       appc run -p ios -T device -C <DEVICE_UDID> [-V "<DEVELOPER_CERTIFICATE_NAME>" -P <PROVISIONING_PROFILE_UUID>]
       

    Example

    appc run -p ios -T device -C itunes -V "Loretta Martin (GE7BAC5)" -P "11111111-2222-3333-4444-555555555555" appc run -p ios -T device -C "iOS Device" -V "Loretta Martin (GE7BAC5)" -P "11111111-2222-3333-4444-555555555555"
    Thanks

JSON Source