cakhadi / tibar

Automatically exported from code.google.com/p/tibar
0 stars 0 forks source link

Does TIBar only run with Titanium sdk v1.4.0? #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The latest sdk version is 1.4.2 I guess. Does TI Bar have forward compatibility?

Original issue reported on code.google.com by balg...@gmail.com on 30 Oct 2010 at 6:04

GoogleCodeExporter commented 9 years ago
I am getting the following error running on SDK 1.4.2

File "/Users/macmini/Library/Application 
Support/Titanium/mobilesdk/osx/1.4.2/iphone/builder.py", line 1082, in <module>
main(sys.argv)
File "/Users/macmini/Library/Application 
Support/Titanium/mobilesdk/osx/1.4.2/iphone/builder.py", line 315, in main
ti = TiAppXML(tiapp_xml)
File "/Users/macmini/Library/Application 
Support/Titanium/mobilesdk/osx/1.4.2/iphone/../tiapp.py", line 44, in __init__
self.dom = 
parseString(codecs.open(self.file,'r','utf-8','replace').read().encode('utf-8'))
File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/
minidom.py", line 1928, in parseString
return expatbuilder.parseString(string)
File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/
expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/
expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 20, column 
16

Original comment by balg...@gmail.com on 30 Oct 2010 at 6:54

GoogleCodeExporter commented 9 years ago
Hi,

I may be wrong but the module uses ZBar, which seems to have issues with 4.2, 
there looks as if there is a work round as discussed here:
http://sourceforge.net/projects/zbar/forums/forum/1072195/topic/3925029

Unfortunately I have no idea how to apply this to Ti-bar...

Peter

Original comment by ploun...@me.com on 5 Nov 2010 at 5:12

GoogleCodeExporter commented 9 years ago
Late on Nov 29, a 1.0.1 beta binary was posted on source forge with the 
suggested work around for iOS 4.2 -- any chance of getting a new TiBar build 
based on it?

Original comment by dha...@gmail.com on 30 Nov 2010 at 10:16

GoogleCodeExporter commented 9 years ago
Hi,
Any news for the new compilation from ZBar regarding the 1.4.2 issue ? Can we 
help in any way. You've done a wonderful job, so we have great expectations 
from you, guys ! Sorry about that, that's celebrity !

Original comment by e.jeanb...@gmail.com on 9 Dec 2010 at 9:05

GoogleCodeExporter commented 9 years ago
There are two new TiBar versions:
* 0.4 - integrates ZBarSDK 1.0 and is build using Titanium Mobile SDK 1.4.2 and 
iOS 4.1
* 0.4.1 - build with iOS 4.2

Can you test it? It seems that it works without errors :)

Cheers, Lukasz

Original comment by lukasz.r...@gmail.com on 9 Dec 2010 at 5:13

GoogleCodeExporter commented 9 years ago
Hi Lukasz,

thank for such a great module, I have built an app using tibar 0.4.1, iOS 
4.2.1, Titanium 1.4.2 SDK, the app works very very well on an iPhone 4 running 
iOS4.2.1, but calling the module on an iPhone 3GS locks the application.

I have also built and deployed the tibar test app and the same happens, iPhone 
4 all is well, 3GS locks on scan, any ideas?

regards Peter

Original comment by ploun...@me.com on 10 Dec 2010 at 5:38

GoogleCodeExporter commented 9 years ago
Hi,

for anyone who hasn't seen this:

http://sourceforge.net/projects/zbar/forums/forum/1072195/topic/3925029/index/pa
ge/2

It would appear z-bar has a few more issues to contend with at the moment?

Peter

Original comment by ploun...@me.com on 13 Dec 2010 at 7:17

GoogleCodeExporter commented 9 years ago
I've also found that an iPhone 3GS locks up on calling the scan method. I'm 
using TiBar 0.4.1 on an iPhone 3GS running iOS 4.2.

Original comment by joncla...@gmail.com on 16 Dec 2010 at 8:27

GoogleCodeExporter commented 9 years ago
And should have said that the lock up on a 3GS happens when using classType of 
ZBarReaderViewController. Using ZBarReaderController SEEMS ok.

Original comment by joncla...@gmail.com on 16 Dec 2010 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by lukasz.r...@gmail.com on 27 Jan 2011 at 3:50

GoogleCodeExporter commented 9 years ago
There is new relase, TiBar 0.4.2:
http://code.google.com/p/tibar/downloads/detail?name=tibar-iphone-0.4.2.zip

Please test it with different devices and iOS versions and post the results:
http://code.google.com/p/tibar/issues/detail?id=13

Best regards,
Lukasz

Original comment by lukasz.r...@gmail.com on 31 Jan 2011 at 12:04

GoogleCodeExporter commented 9 years ago
Hi,
I'm unable to get tibar 0.4.2 working using Titanium SDK 1.7.0 

When trying to build the app, it halts with this error"

[ERROR]
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application 
Support/Titanium/mobilesdk/osx/1.7.0/iphone/builder.py", line 1003, in main
execute_xcode("iphonesimulator%s" % 
link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s 
DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % 
(log_id,sdk_version)],False)
File "/Library/Application 
Support/Titanium/mobilesdk/osx/1.7.0/iphone/builder.py", line 924, in 
execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/run.py", 
line 39, in run
sys.exit(rc)
SystemExit: 1

Can anyone help?
Thx.

Original comment by kos...@gmail.com on 30 Apr 2011 at 5:01

GoogleCodeExporter commented 9 years ago
Did you add the "frameworks" to the xcode project after the first compile ?

Original comment by codewise...@gmail.com on 17 Mar 2012 at 7:46