{ "id": "117297", "key": "AC-2150", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-18T17:35:18.000+0000", "created": "2013-07-17T16:57:02.000+0000", "labels": [ "studio3" ], "versions": [], "issuelinks": [ { "id": "30287", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "113761", "key": "AC-2415", "fields": { "summary": "iOS: The following build commands failed: PhaseScriptExecution Pre-Compile Script-DABB369F12E8CB280026A6EA.sh", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:08.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Just updated to Titanium Studio 3.1.2 and a current project that has been building just fine suddenly will not build. I'm attempting to build for iOS and run on the iPhone simulator. Project builds fine on Android.\r\n\r\n*Log*\r\n{code}\r\n[ERROR] : TypeError: Arguments to path.join must be strings\r\n at path.js:360:15\r\n at Array.filter (native)\r\n at exports.join (path.js:358:36)\r\n at exports.detect (/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/node-appc/lib/android.js:40:30)\r\n at /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/cli/commands/_build.js:28:11\r\n at /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/titanium-sdk/lib/titanium.js:105:5\r\n at /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/async/lib/async.js:454:21\r\n at /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/async/lib/async.js:185:13\r\n at /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/node_modules/async/lib/async.js:86:13\r\n at Array.forEach (native)\r\n[ERROR] Unable to find command \"build\"\r\n{code}", "attachment": [ { "id": "40863", "filename": "Diagnostic.rtf", "author": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-17T21:48:45.000+0000", "size": 14254, "mimeType": "text/rtf" }, { "id": "40864", "filename": "Log.rtf", "author": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-17T21:48:45.000+0000", "size": 9405459, "mimeType": "text/rtf" } ], "flagged": false, "summary": "iOS: Project will not build after updating to Studio 3.1.2", "creator": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "environment": "Mac OS X 10.7.5\r\nTitanium Studio 3.1.2.201307161520", "comment": { "comments": [ { "id": "262183", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please can you attach your Studio log file and diagnostic? (Both found at Help -> Studio)\n\nBut I imagine that if you run this in Terminal:\n\n{code}node -v{code}\n\nThat you will have 0.10.x installed. If that's the case, try downgrading to 0.8.x (most compatible version is 0.8.22)", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-17T18:09:10.000+0000", "updated": "2013-07-17T18:09:10.000+0000" }, { "id": "262199", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello David,\n\nCan you do me a favor and try cleaning and rebuilding the project and see if that also makes any difference. Besides that my next best guess to the issue would be what Daniel suggested. \n\nThanks,\n\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-17T19:16:14.000+0000", "updated": "2013-07-17T19:16:14.000+0000" }, { "id": "262239", "author": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "body": "Log and Diagnostic requested by Daniel Selfton", "updateAuthor": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-17T21:48:45.000+0000", "updated": "2013-07-17T21:48:45.000+0000" }, { "id": "262240", "author": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "body": "I cleaned and attempted to rebuild again to no avail. Next I downgraded to Node v0.8.22. Restarted the machine and checked the version of node, confirmed it was v08.22. Cleaned the project and attempted to rebuild. Here is the error I got:\n[ERROR] : ** BUILD FAILED **\n[ERROR] : The following build commands failed:\n[ERROR] : \tPhaseScriptExecution Pre-Compile \"build/Find It! Harrisonville.build/Debug-iphonesimulator/Find It! Harrisonville.build/Script-241EAF36118E30260081A5BE.sh\"\n[ERROR] : (1 failure)\n\nLog and Diagnostic attached.", "updateAuthor": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-17T21:49:46.000+0000", "updated": "2013-07-17T21:49:46.000+0000" }, { "id": "262331", "author": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "body": "This morning I updated to the latest build (Titanium Studio, build: 3.1.2.201307171728) in hopes that the problem was fixed in this build. I cleaned the project and attempted a build. I got the same \"PhaseScriptExecution Pre-Compile\" error that I got in my 17/Jul/13 4:49 PM comment above. I decided to focus on my code. I commented out the file that I had been working on, cleaned the project and performed a build. The build was successful. I found a couple of instances where curly braces were misplaced, I fixed them and now my project builds. Thank you for your prompt attention, please close out this ticket.", "updateAuthor": { "name": "dnevels", "key": "dnevels", "displayName": "David Nevels", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-18T13:31:46.000+0000", "updated": "2013-07-18T15:01:52.000+0000" }, { "id": "262345", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yeah, TC-2233 was a code issue too. Thanks, closing.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-18T17:35:18.000+0000", "updated": "2013-07-18T17:35:18.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }