jackba / tibar

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

Ti Mobile 1.7 = Undefined symbols #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling for Titanium Mobile 1.7 I get this error...

Undefined symbols for architecture armv6:
  "_ZBarReaderControllerResults", referenced from:
      -[TiBarcodeModule imagePickerController:didFinishPickingMediaWithInfo:] in libti.barcode.a(TiBarcodeModule.o)
ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status

I've added the frameworks and linked libiconv.dylib.

Previous version (0.4.2) works for Titanium Mobile 1.5.2.  But, this one does 
not.

Thoughts??

---Environment---

Titanium Mobile SDK: 1.7
Titanium Developer: 1.2.2
XCode: 4.0.1
iOS: 4.3
iPhone: 4
iPhone iOS:

Original issue reported on code.google.com by terryzma...@gmail.com on 17 May 2011 at 3:14

GoogleCodeExporter commented 9 years ago
Try the fix documented here. You need to modify the module.config 

http://code.google.com/p/tibar/issues/detail?id=16#c14

Original comment by kos...@gmail.com on 10 Jun 2011 at 5:29

GoogleCodeExporter commented 9 years ago
Great.  Thanks.  Yes, this works in 1.7.  Forgot to add OTHER_LDFLAGS to 
module.xcconfig file.

OTHER_LDFLAGS=$(inherited) -framework AVFoundation -framework CoreMedia 
-framework CoreVideo -framework QuartzCore /usr/lib/libiconv.dylib

Thanks.

Original comment by terryzma...@gmail.com on 10 Jun 2011 at 8:41