[TIMOB-15679] CLI: iOS - Cannot install to iOS simulator using latest SDK
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-07T01:35:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0 |
Components | CLI |
Labels | qe-3.2.0, regression |
Reporter | Wilson Luu |
Assignee | Chris Barber |
Created | 2013-11-06T22:47:04.000+0000 |
Updated | 2014-06-19T12:43:37.000+0000 |
Description
*Details:* Cannot install to iOS simulator using latest SDK.
While talking to Chris, the /iphone/cli/commands/_build.js was validating invalid default values for non-required target specific options; this was causing the failure.
*Steps to reproduce:*
1. Create default Titanium app
2. Install to iOS simulator
*Actual:* Invalid "--distribution-name" value "Michael Asher" appears in the console view.
And this is the CLI command that Studio is using:
"/usr/bin/titanium" "\-\-no-colors" "\-\-no-progress-bars" "\-\-no-prompt" "build" "\-\-platform" "iphone" "\-\-sdk" "3.2.0.v20131106120148" "\-\-log-level" "trace" "\-\-target" "simulator" "\-\-ios-version" "7.0" "\-\-sim-version" "7.0" "\-\-device-id" "iPhone" "\-\-skip-js-minify"
*Expected:* Should be able to install to iOS simulator.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4919
Closing ticket as fixed. Was able to install app to iOS simulator using latest SDK. Tested on: Titanium Studio, build: 3.2.0.201311070117 SDK build: 3.2.0.v20131106174044 Ti CLI: 3.2.0 master (4c816f21d7d9360659d77e9a6a994992ef880b72) Xcode: 5.0.1 Device: iphone simulator (7.0.3), iphone simulator (6.1)