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

CLI: error when titanium build compiles a project, passing empty argument

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.2
    • Component/s: None
    • Environment:
    • Sprint:
      2014 Sprint 10 Tooling

      Description

      regression
      no issue in 3.2.1.GA

      To reproduce

      1. Run ti build -p ios -T device -K
      or
      ti build -p ios -T dist-adhoc -K
      2. Enter provisioning profile, which is prompted

      Actual result

      Select a provisioning profile UUID by number or name: 1
       
       
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
              throw e;
                    ^
      TypeError: Arguments to path.join must be strings
          at path.js:360:15
          at Array.filter (native)
          at exports.join (path.js:358:36)
          at exports.resolvePath (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/node_modules/node-appc/lib/fs.js:52:20)
          at iOSBuilder.validate (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/iphone/cli/commands/_build.js:966:42)
          at exports.validatePlatformOptions (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/node_modules/titanium-sdk/lib/titanium.js:615:69)
          at /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/cli/commands/build.js:192:19
          at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:848:7)
          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
      
      

      Expected result

      Select a provisioning profile UUID by number or name: 1
       
      [ERROR] Unable to find keychain "/Users/oromero/Documents/Appcelerator_Studio_Workspace22/ola.q/true"
       
      Available keychains:
          /Users/oromero/Library/Keychains/login.keychain
          /Library/Keychains/System.keychain
      

      and project builds successfully

      NOTE
      Commands, returning same error:

      ti build -d

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code