GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-13T18:22:17.000+0000 |
Affected Version/s | Release 3.0.0, Release 3.0.1, Release 3.1.0 |
Fix Version/s | 2013 Sprint 16, 2013 Sprint 16 Core, Release 3.2.0 |
Components | CLI |
Labels | js, qe-cli, qe-manualtest |
Reporter | Paras Mishra |
Assignee | Chris Barber |
Created | 2013-01-15T01:20:09.000+0000 |
Updated | 2014-08-13T18:22:17.000+0000 |
Setup wizard prompts name of the iOS distribution certificate , provided the correct name , error comes stating "TypeError: Object true has no method 'trim'
CLI: Setup wizard throws an error while input is provided to iOS distribution certificate prompt.
Steps to reproduce:
1. run "Titanium setup -a"
2. Process till the prompt for iOS distribution certificate comes
3. Provide the valid distribution certificate name.
Actual result :
An error is shown as follows
/usr/local/lib/node_modules/titanium/node_modules/longjohn/index.js:111
throw e;
^
TypeError: Object true has no method 'trim'
at exports.run (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:310:42)
at Array.forEach (native)
at exports.run (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:309:25)
at prompt.get (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:317:32)
at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)
at assembler (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:314:9)
at prompt.get (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:323:32)
at prompt.getInput (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:598:5)
at Interface.onLine (/usr/local/lib/node_modules/titanium/node_modules/prompt/node_modules/read/lib/read.js:110:5)
Expected Result :
Setup wizard should successfully configure the iOS distribution certificate
Until there is a fix, can the "Distribution Certificate Section" setting be added manually to the config.json file? If so, what section?
https://github.com/appcelerator/titanium/pull/50 https://github.com/appcelerator/node-appc/pull/50
To test, run "titanium setup ios" and it will correctly list and allow you to select the cert.
Environment - Appc Studio - 3.2.0.201311140721 SDK - 3.2.0.v20131114184328 acs -1.0.7 alloy - 1.3.0 titanium - 3.2.0 titanium-code-processor - 1.1.0 Xcode - 5.0.2 OS - Mac OS X Mavericks (10.9) Result - Now its working fine. No error observed. Hence closing this issue.
reopened to add labels