Project: titanium
Issue TIMOB-19418: Error while building a titanium project to iOS device
An error is shown when trying to build a project to iOS device. The issue occurs on the latest build of sdk on master branch. On an older build from master branch the issue does not occur. I tried the sdk build 5.0.0.v20150825004430 on which the issue does not occur. Steps to Reproduce: 1. Create a new titanium project using ti create 2. Run it on the device. ti build -p iOS -T device Actual Result: An error is shown {code} ti build -p ios -T device Titanium Command-Line Interface, CLI version 4.1.5, Titanium SDK version 5.0.0.v20150826192455 Copyright (c) 2012-2015, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ Which developer certificate would you like to use? /Users/ssekhri/Library/Keychains/login.keychain 1) QE Department (C64864TF2L) (expires Dec 2, 2015 3:04:10 am) Select a certificate by number or name: 1 /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:194 throw e; ^ TypeError: Cannot read property 'id' of undefined at Object.prompt (/Users/ssekhri/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150826192455/iphone/cli/commands/_build.js:883:21) at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:838:9) at q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:731:21) at processImmediate (timers.js:354:15) --------------------------------------------- at async.setImmediate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:96:15) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:696:21 at Array.forEach (native) at _each (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:32:24) at _insert (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:681:11) at q.push (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:708:15) at /usr/local/lib/node_modules/titanium/lib/cli.js:925:9 {code}
Story points: 2