[TIMOB-12093] CLI: iOS distribution name from CLI config isn't properly used if not all lower case
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-24T03:39:09.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2012 Sprint 26 JS, 2012 Sprint 26 |
Components | CLI |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-12-13T22:56:29.000+0000 |
Updated | 2013-01-24T03:39:09.000+0000 |
Description
When doing a iOS dist-adhoc or dist-appstore build, you need to specify a --distribution-name. You can save your distribution name in the CLI config file so that you don't need to specify it every time.
However, there was a bug that was introduced where the distribution name from the CLI config is only applied if the name was save in all lower case.
titanium config ios.distributionName "Appcelerator, Inc." # won't work
titanium config ios.distributionName "appcelerator, inc." # works!
This only is a problem if you DO NOT specify the --distribution-name at the command line and the default is being applied. This is not an issue for Studio since they always pass in the distribution name.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3595 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3596
Successfully build with no error,while distribution name was saved to configuration using 'titanium config ios.distributionName "Michael Asher"' Verified on : SDK version: 3.1.0.v20130111163212 CLI version : 3.0.22 OS : MAC OSX 10.7.5 XCode : 4.5.1