[TIMOB-15341] Please update detect.js to use latest node-appc and make iOS build process work again
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-09-25T17:14:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Andrey Verbin |
Assignee | Chris Barber |
Created | 2013-09-13T14:43:42.000+0000 |
Updated | 2017-03-22T21:40:02.000+0000 |
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.
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.
Just for documentation, the error message in the described case will look like this:
Hi Pilippe Wueger. I have follow your command. It build success but it cant make the file target. Below is the error BUILD SUCCESSFUL Total time: 7 minutes 18 seconds scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... scons: *** Do not know how to make File target `node-appc-branch-master' (/Users/licco/titanium_mobile/node-appc-branch-master). Stop. scons: building terminated because of errors. Do you have any idea?
[~liccowee] You have a typo, you need to use an equal (=) sign between "node-appc-branch" and "master" like this:
Closing ticket as "Won't Fix".