Installing of Tibar

You must Login before you can answer or comment on any questions.

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 1
Whats 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

— answered 2 years ago by Matt Apperson
answer permalink
5 Comments
  • Hi Matt,

    it is a very good hint. At the time I'am in the projekt planning phase and evaluate possibilities. Can I get more informations about this module?

    Best regards Rainer

    — commented 2 years ago by Rainer Schleevoigt

  • Matt, I'm confused. Since this forum is explicitly NOT an official support channel for Titanium but is instead for sharing among the developer community, this seems like a perfectly good place to ask a question, even if about a third party module.

    If this isn't a good place to ask a question, then what is the purpose of this Q&A since it is not an official support channel either?

    — commented 2 years ago by Doug Handy

  • Wonderfull!

    — commented 2 years ago by Rainer Schleevoigt

  • Show 2 more comments

You can also try and do a clean by removing the contents of project_root/build/iphone/*

— answered 2 years ago by Tony Guntharp
answer permalink
1 Comment
  • It was my first idea. I remove very often this foolder.

    If start width '<modules> <module version="1.0">ti.paint</module> <!-- <module version="0.4.2">tibar</module>--> </modules>'

    all is fine.

    RAiner

    — commented 2 years ago by Rainer Schleevoigt

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!