Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19737

Error when selecting an iOS certificate without provisioning profiles

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: Release 5.2.0
    • Component/s: Tooling
    • Labels:
      None
    • Environment:

      SDK 5.0.2.GA
      Titanium CLI 5.0.5

    • Story Points:
      1
    • Sprint:
      2015 Sprint 21 Tooling

      Description

      When selecting a distribution certificate for which I don't have any provisioning profile I get:

      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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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.<anonymous> (/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)
      

        Attachments

          Activity

            People

            • Assignee:
              fmiao Feon Sua Xin Miao
              Reporter:
              fokkezb Fokke Zandbergen
              Reviewer:
              Chee Kiat Ng (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-20506
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code