{ "id": "119914", "key": "TIMOB-15341", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-09-25T17:14:42.000+0000", "created": "2013-09-13T14:43:42.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-22T21:40:02.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "iphone detect.js relies on node-appc function (subprocess.run) which is available in edge node-appc. But Titanium SDK is still uses old node-appc (but new detect.js) which does not have appc.subprocess.run function.", "attachment": [], "flagged": false, "summary": "Please update detect.js to use latest node-appc and make iOS build process work again", "creator": { "name": "andrey@studiomobile.ru", "key": "andrey@studiomobile.ru", "displayName": "Andrey Verbin", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andrey@studiomobile.ru", "key": "andrey@studiomobile.ru", "displayName": "Andrey Verbin", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Edge Titanium (SHA 40722b67f9c1eb5e7f56a805802983fd843912ec)", "comment": { "comments": [ { "id": "272853", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "In order to use the latest bleeding edge Titanium SDK 3.2 (master), you MUST use the bleeding edge Titanium CLI 3.2. (master). If the Titanium SDK 3.2 you are using is a CI build, it will work just fine. If you are building Titanium SDK 3.2 from source (using scons), you MUST specify the node-appc-branch=master param.\r\n\r\n{code}\r\n# clean up npm cache\r\nsudo rm -rf ~/.npm\r\n\r\n# get latest CLI\r\nsudo npm install -g git://github.com/appcelerator/titanium.git\r\n\r\n# build titanium sdk from source\r\ncd titanium_mobile\r\nscons node-appc-branch=master\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-09-25T17:14:42.000+0000", "updated": "2013-09-25T17:14:42.000+0000" }, { "id": "273137", "author": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just for documentation, the error message in the described case will look like this:\r\n\r\n{code}\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'run' of undefined\r\n at Object. (/Users/Philippe/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/iphone/cli/lib/detect.js:25:23)\r\n at Module._compile (module.js:456:26)\r\n at Module._extensions..js (module.js:474:10)\r\n at Module.load (module.js:356:32)\r\n at Module._load (module.js:312:12)\r\n at Module.require (module.js:364:17)\r\n at require (module.js:380:17)\r\n at Object. (/Users/Philippe/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/iphone/cli/commands/_build.js:37:11)\r\n at Module._compile (module.js:456:26)\r\n at Module._extensions..js (module.js:474:10)\r\n{code}", "updateAuthor": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-27T08:01:06.000+0000", "updated": "2013-09-27T08:01:06.000+0000" }, { "id": "273721", "author": { "name": "liccowee", "key": "liccowee", "displayName": "Licco Wee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Pilippe Wueger. I have follow your command. It build success but it cant make the file target. Below is the error\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 7 minutes 18 seconds\r\nscons: Reading SConscript files ...\r\nscons: done reading SConscript files.\r\nscons: Building targets ...\r\nscons: *** Do not know how to make File target `node-appc-branch-master' (/Users/licco/titanium_mobile/node-appc-branch-master). Stop.\r\nscons: building terminated because of errors.\r\n\r\nDo you have any idea?", "updateAuthor": { "name": "liccowee", "key": "liccowee", "displayName": "Licco Wee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-03T03:06:21.000+0000", "updated": "2013-10-03T03:06:21.000+0000" }, { "id": "273722", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~liccowee] You have a typo, you need to use an equal (=) sign between \"node-appc-branch\" and \"master\" like this:\n\n{code}\nscons node-appc-branch=master\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-03T03:09:36.000+0000", "updated": "2013-10-03T03:09:36.000+0000" }, { "id": "415028", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:40:02.000+0000", "updated": "2017-03-22T21:40:02.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }