[TIMOB-23414] iOS: titanium_mobile master is broken
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-20T09:27:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | iOS |
Labels | qe-5.4.0 |
Reporter | Andrew McElroy |
Assignee | Chee Kiat Ng |
Created | 2016-05-19T18:24:03.000+0000 |
Updated | 2016-07-11T20:59:29.000+0000 |
Description
When I download from http://builds.appcelerator.com/#master and try to install this OSX build from http://builds.appcelerator.com/mobile/master/mobilesdk-5.4.0.v20160517164706-osx.zip
or when I clone down appcelerator/titanium_mobile and run scons ( my environment is set up correctly)
in both cases I get:
ti build --platform=iphone
SyntaxError: missing ) after argument list
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at /Users/andrewmcelroy/Library/Application Support/Titanium/mobilesdk/osx/5.4.0.v20160517164706/node_modules/titanium-sdk/lib/titanium.js:86:14
at /Users/andrewmcelroy/Library/Application Support/Titanium/mobilesdk/osx/5.4.0.v20160517164706/node_modules/async/lib/async.js:718:13
at async.forEachOf.async.eachOf (/Users/andrewmcelroy/Library/Application Support/Titanium/mobilesdk/osx/5.4.0.v20160517164706/node_modules/async/lib/async.js:233:13)
---------------------------------------------
at Object.run (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8)
at find (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14)
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:945:13
at Immediate.q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:913:25)
at processImmediate [as _immediateCallback] (timers.js:383:17)
---------------------------------------------
at Object.setImmediate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:200:9)
at _insert (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:861:19)
at Object.q.push (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:888:17)
at Object.findExecutable (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:113:8)
at resolveNode (/usr/local/lib/node_modules/titanium/lib/titanium.js:97:34)
at /usr/local/lib/node_modules/titanium/lib/titanium.js:74:5
at Object. (/usr/local/lib/node_modules/titanium/lib/titanium.js:80:2)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
FYI, Master is currently broken.
More information: hash aafdb83 compiles and builds iOS apps successfully. I will try updating git commits until I find the busted version of titanium_mobile master.
anything after this commit https://github.com/appcelerator/titanium_mobile/commit/b8cc9b614644c6ff17bd09da79e158450fc7b0ca will produce a bad build. Yes, I sat down and one commit by one scons each commit until ti build --platform=iphone no longer works
just to be clear it doesn't matter if I do appc ti build --platform=iphone or just ti build --platform=iphone.
also, this isn't iphone specific, if i --platform=android I get the same error: ti build --platform=android SyntaxError: missing ) after argument list at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at /Users/andrewmcelroy/Library/Application Support/Titanium/mobilesdk/osx/5.4.0/node_modules/titanium-sdk/lib/titanium.js:86:14 at /Users/andrewmcelroy/Library/Application Support/Titanium/mobilesdk/osx/5.4.0/node_modules/async/lib/async.js:718:13 at async.forEachOf.async.eachOf (/Users/andrewmcelroy/Library/Application Support/Titanium/mobilesdk/osx/5.4.0/node_modules/async/lib/async.js:233:13) --------------------------------------------- at Object.run (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8) at find (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14) at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:945:13 at Immediate.q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:913:25) at processImmediate [as _immediateCallback] (timers.js:383:17) --------------------------------------------- at Object.setImmediate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:200:9) at _insert (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:861:19) at Object.q.push (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:888:17) at Object.findExecutable (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:113:8) at resolveNode (/usr/local/lib/node_modules/titanium/lib/titanium.js:97:34) at /usr/local/lib/node_modules/titanium/lib/titanium.js:74:5 at Object.
Thanks for the find [~sophrinix]! Your log really helps to pinpoint the issue. Fix coming soon!
PR here: https://github.com/appcelerator/titanium_mobile/pull/8007
Steps to test
Do a ti build -p ios and there won't be an error.Verified as fixed. Tested on: iPhone 6 plus (9.1) iOS Simulator (9.3) Mac OSX El Capitan 10.11.5 Studio: 4.7.0.201607111053 Ti SDK: 5.4.0.v20160705213725 Appc NPM: 4.2.8-1 Appc CLI: 5.4.0-29 Xcode 7.3.1 Node v4.4.4 * Closing Ticket*