[TIMOB-13405] Apps fails to build for IOS & android with sdk 3.2.0v20130403153242 (master) where as blackberry builds fine
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-08T20:33:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 07 BB |
Components | BlackBerry |
Labels | appcelerator_smoke, qe-manualtest, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-04-05T17:36:32.000+0000 |
Updated | 2014-08-08T22:39:22.000+0000 |
Description
NOTE : Blackberry builds fine but IOS & android fails
Description:
1. Create an app for all targets including BB
2. Build for simulator/emulator for IOS & android
Actual Result:
1. Build fails & we get the following error:
/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181
throw e;
^
Error: ENOENT, no such file or directory '/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/blackberry/libTiCore.a'
at fs.lstatSync (fs.js:520:18)
at exports.config.ios.detect.minsdk (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/blackberry/cli/commands/_build.js:88:42)
at exports.detect (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/node-appc/lib/ios.js:231:3)
at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:190:13)
at async.forEach (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:94:25)
at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:187:17)
at async.parallel.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:459:34)
at exports.detect.async.parallel.provisioningProfiles.adhoc (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/node-appc/lib/ios.js:168:5)
at EventEmitter.emit (events.js:99:17)
---------------------------------------------
at /Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/node-appc/lib/ios.js:120:10
at async.parallel.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:454:21)
at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:185:13)
at async.forEach (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:86:13)
at Array.forEach (native)
at _forEach (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:26:24)
at async.forEach (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:85:9)
at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130404072059/node_modules/async/lib/async.js:184:9)
Expected results:
1. We should be able to build apps for IOS & android
This should be resolved in Studio 3.1 which uses the new Node based CLI for project creation when BlackBerry is enabled. I believe this issue was caused by the old python creation script which isn't compatible with iOS these days.
Verified the fix in studio & the app builds fine for IOS & android. Environment: Ti Studio : 3.1.0.201304051530 Ti BB SDK : 3.2.0.v20130409153013 Mac OSX : 10.8.2 win 7 Win 8 BB simulator : 10.0.10.261 Z10 device running 10.0.10.88