Description
Using the CLI to build to multiple devices using the command "ti build -p ios -C all -T device" throws an error and fails the build.
Steps To Reproduce
1. Create a classic project
2. Connect multiple iOS devices
3. Run "ti build -p ios -C all -T device"
Expected Outcome
App should be installed on all devices
Actual Outcome
/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
throw e;
^
TypeError: Cannot read property 'cyan' of undefined
at iOSBuilder.validate (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/iphone/cli/commands/_build.js:880:139)
at exports.validatePlatformOptions (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/node_modules/titanium-sdk/lib/titanium.js:616:69)
at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/cli/commands/build.js:192:19
at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:848:7)
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:145:25
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5541
Verified FIXED using : OSX: 10.9.2 Xcode:5.1.1 acs@1.0.14 alloy@1.3.1 npm@1.3.2 titanium@3.2.3-beta2 titanium-code-processor@1.1.1-beta1 MobileSDK :3.2.3.v20140418101718 ,3.3.0.v20140418162516 Appcelerator Studio, build: 3.2.3.201404162038 Devices : iPhone 5s (7.1) , iPod toch (7.1) I am successfully able to deploy an app using CLI on multiple devices at a same time. Hence closing it as FIXED.
Reopening to edit device details .
Closing as FIXED .