Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17739] BlackBerry: Unable to build app in BlackBerry 10

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionHold
Resolution Date2015-04-14T17:12:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labels10.2, BlackBerry
ReporterShuo Liang
AssigneePedro Enrique
Created2014-09-23T03:55:14.000+0000
Updated2017-03-14T03:51:46.000+0000

Description

Unable to build app in BlackBerry 10

Reproduce:

1.Download BlackBerry SDK from Ti Studio. 2.Create a simple app, like a tabWindow Template. 3.Run it in BlackBerry simulator. Error happen, Here is the console log:
[INFO] :   Running: make -j3 Simulator-Debug
[INFO] :   Please wait...
[INFO] :   make -C ./translations -f Makefile update
[ERROR] :  Error: Command failed: dyld: Library not loaded: libQtXml.4.dylib
cd x86 && /Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr/bin/qmake -spec blackberry-x86-qcc ../SimpleTest.pro  CONFIG+=debug_and_release CONFIG+=simulator
make[1]: Entering directory /Users/shuoliang/Documents/Titanium_Studio_Workspace/SimpleTest/build/blackberry/translations'
/Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr/bin/lupdate SimpleTest.pro
make[1]: Leaving directory /Users/shuoliang/Documents/Titanium_Studio_Workspace/SimpleTest/build/blackberry/translations'
[INFO] :   Running: blackberry-nativepackager -package build/SimpleTest.bar bar-descriptor.xml -configuration Simulator-Debug
[INFO] :   Please wait...
  Referenced from: /Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr/bin/lupdate
  Reason: no suitable image found.  Did find:
	/Applications/Momentics.app/target_10_2_0_1155/qnx6/../darwin/x86/usr/lib/qt4/lib/libQtXml.4.dylib: file too short
make[1]: *** [update] Trace/BPT trap: 5
make: *** [translate] Error 2
make: *** Waiting for unfinished jobs....
[ERROR] :  Error: Command failed: Error: Invalid asset path "x86/o-g/SimpleTest"
[INFO] :   Running: blackberry-deploy -installApp -launchApp -device 127.0.0.50 -password "" build/SimpleTest.bar
...
N.B. There are two similar files in BlackBerry NDK: libQtXml.4.8.5.dylib and libQtXml.4.dylib. and libQtXml.4.dylib is 0 size. Also same as other libQt file.

Comments

  1. Ewan Harris 2014-09-23

    I can not reproduced the error on: Mac OSX 10.9.4 Appcelerator Studio, build:3.4.0.201409161950 Titanium SDK build: 3.4.0.v20140922135716 Titanium CLI, build: 3.4.0-rc4 Alloy: 1.5.0-rc3 Blackberry Simulator 10.2 When I build to a Blackberry simulator I do see the above error but then the build continues and the app successfully builds to the simulator.
  2. Ingo Muschenetz 2015-04-14

    Placing these items on hold for the moment based on community interest.
  3. Lee Morris 2017-03-14

    Closing ticket as BlackBerry is no longer supported by us.

JSON Source