Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13405] Apps fails to build for IOS & android with sdk 3.2.0v20130403153242 (master) where as blackberry builds fine

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-08-08T20:33:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 07 BB
ComponentsBlackBerry
Labelsappcelerator_smoke, qe-manualtest, sdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-04-05T17:36:32.000+0000
Updated2014-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

Comments

  1. Josh Roesslein 2013-04-09

    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.
  2. Lokesh Choudhary 2013-04-09

    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

JSON Source