Project: titanium
Issue TIMOB-18559: iOS: TypeError: Arguments to path.join must be strings
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. {code} [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. (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 {code} *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
Story points: 3