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

CLI: error building targeting dist-adhoc when provisioning profile uuid (-P) value is not passed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.2
    • Fix Version/s: Release 3.3.1, Release 3.4.0
    • Component/s: CLI, iOS
    • Environment:
    • Sprint:
      2014 Sprint 15 Tooling

      Description

      regression
      no issue in 3.2.1.GA

      To reproduce

      1. Run ti build -p ios -T dist-adhoc -F universal -P
      2. Enter prompted values

      Actual result

      Select a certificate by number or name: 1
       
       
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
              throw e;
                    ^
      TypeError: Object true has no method 'toLowerCase'
          at callback.options.pp-uuid.validate (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/iphone/cli/commands/_build.js:691:51)
          at CLI.<anonymous> (/usr/local/lib/node_modules/titanium/lib/cli.js:621:14)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
          at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:145:25
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34
          at CLI.<anonymous> (/usr/local/lib/node_modules/titanium/lib/cli.js:583:45)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
      
      

      Expected result

      Which distribution certificate would you like to use?
      /Users/oromero/Library/Keychains/login.keychain
         1)  Michael Asher (WY35J6ST95)  (expires Nov  6, 2014  1:23:50 pm)
      Select a certificate by number or name: 1
       
      [ERROR] Invalid provisioning profile UUID "true"
       
      Which provisioning profile would you like to use?
      Available Distribution UUIDs:
         1)  95B8E578-1273-4D3A-93B4-0607CFE8CFEC Any App App Store Distribution: *  (expires Nov  5, 2014  1:44:47 pm)
      Select a provisioning profile UUID by number or name: 1
       
      Where would you like the output IPA file saved? [/Users/oromero/Documents/Appcelerator_Studio_Workspace22/ola.q/dist]: 
       
      [DEBUG] No project level plugins to load
      [DEBUG
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                oromero Olga Romero
                Reviewer:
                Tim Poulsen
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code