Project: titanium
Issue TIMOB-19737: Error when selecting an iOS certificate without provisioning profiles
When selecting a distribution certificate for which I don't have any provisioning profile I get: {code} Fokkes-MacBook-Pro:HouseBattle fokkezb$ ti build -p iOS -T dist-adhoc Titanium Command-Line Interface, CLI version 5.0.5, Titanium SDK version 5.0.2.GA Copyright (c) 2012-2015, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ Which distribution certificate would you like to use? /Users/fokkezb/Library/Keychains/login.keychain 1) Fokke Zandbergen (XXX) (expires Mar 30, 2016 12:46:31 pm) Select a certificate by number or name: 2 /Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/iphone/cli/commands/_build.js:945	logger.error(__('Unable to find any distribution or adhoc provisioning profiles')); ^ ReferenceError: logger is not defined at Object.prompt (/Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/iphone/cli/commands/_build.js:945:6) at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:838:9) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:945:13 at Immediate.q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:913:25) at processImmediate [as _immediateCallback] (timers.js:367:17) --------------------------------------------- at Object.setImmediate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:200:9) at _insert (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:861:19) at Object.q.push (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:888:17) at /usr/local/lib/node_modules/titanium/lib/cli.js:925:9 at Array.forEach (native) at CLI.prompt (/usr/local/lib/node_modules/titanium/lib/cli.js:924:43) at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:640:13) at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/async.js:66:6 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:697:13 --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37 at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:451:65) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) {code}
Story points: 1