Moin,
I try to install the scanning module for Titanium version 1.6.2. on xcode 4.0.1 ()
First I get the file http://code.google.com/p/tibar/downloads/detail?name=tibar-iphone-0.4.2.zip
and unzip it in folder
/Library/Application\ Support/Titanium/
It is now here:
/Library/Application\ Support/Titanium/modules/iphone/tibar/0.4.2/libtibar.a
Now I have to add the Frameworks (AVFoundation.framework,
CoreMedia.framework, CoreVideo.framework, QuartzCore.framework ) and the libiconv.lib
It seems simple, but on my system are lot versions of frameworks and libs.
If I add libiconv.lib from /usr/lib then in list in sdk appears libiconv.2.lib. ???? Libs from other folders works similar.
In any cases after start of compile comes on console:
[INFO] Detected third-party module: ti.paint/1.0 [INFO] Detected third-party module: tibar/0.4.2 [INFO] Titanium SDK version: 1.6.2 [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 4.3 [INFO] iPhone simulated device: iphone Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/builder.py", line 1342, in <module> main(sys.argv) File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/builder.py", line 419, in main appid = os.environ['TI_APPID'] File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'TI_APPID' Command /bin/sh failed with exit code 1Whats going wrong?
In my tapp.xml is: <module version="0.4.2">tibar</module>
Best regards
Rainer
4 Answers
Rainer,
This is not an officially supported module for titanium, and as such this might not be the best place for this question.
For an officially supported plugin we recommend our new development packages that would provide you with our own barcode module, and official support from us at appcelerator.
A link to this can be found here: http://www.appcelerator.com/products/plans-pricing/
Best regards, Matt
You can also try and do a clean by removing the contents of project_root/build/iphone/*
I tried this http://code.google.com/p/tibar/issues/detail?id=16#c14 and I can compile.
Rainer
See my reply in this thread. It adds one step to what Rainer suggested above.
Your Answer
Think you can help? Login to answer this question!