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

iOS: TypeError: Arguments to path.join must be strings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.0.0
    • Component/s: iOS
    • Environment:

      Titanium SDK 4.0.0.v20150212104820
      Studio 4.0.0.201502041613
      Xcode 6.2b5 & 6.1.1

    • Story Points:
      3
    • Sprint:
      2015 Sprint 04 SDK

      Description

      This is a regression. When packaging for iOS, I see the below error. Xcode is still opened and the archive/package is still created, however.

      [INFO] :   Archiving debug symbols to /Users/ewieber/Library/Developer/Xcode/Archives/2015-02-12/universalIconSplash_10-38-52.xcarchive/dSYMs/universalIconSplash.app.dSYM
      [INFO] :   Launching Xcode: /Applications/Xcode.app
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
              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 /Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212085635/iphone/cli/hooks/package.js:94:34
          at exithandler (child_process.js:635:7)
          at EventEmitter.emit (events.js:98:17)
          at maybeClose (child_process.js:743:16)
          at Socket.<anonymous> (child_process.js:956:11)
      ---------------------------------------------
          at exports.execFile (child_process.js:691:9)
          at exports.exec (child_process.js:578:18)
          at /Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212085635/iphone/cli/hooks/package.js:92:7
          at /Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212085635/node_modules/async/lib/async.js:232:13
          at /Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212085635/node_modules/async/lib/async.js:119:25
          at /Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212085635/node_modules/async/lib/async.js:24:16
          at /Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212085635/node_modules/async/lib/async.js:229:17
          at /Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212085635/node_modules/async/lib/async.js:516:34
      

      Steps To reproduce issue:
      1. Create a new project with SDK 4.0.0.v20150212104820
      2. Package the project for iOS (either adhoc or for the store)
      3. Notice the above error in the console

      Expected results:
      No error is shown

      Notes:
      1. This is a regression as I do not see the error with 3.5.0.GA
      2. I get this error with Xcode 6.1.1 as well as 6.2b5

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jalter Jon Alter
                Reporter:
                ewieber Eric Wieber
                Reviewer:
                Chris Barber
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code