iPhone 5 problems resolved
We’re pleased to announce that we have a new version of the Softek Barcode SDK for IOS that supports the armv7s architecture. This will allow developers to link their apps against the libbardecode.a library in XCode 4.5 GM when building for an iPhone 5.
The new version of the sdk can be downloaded from the following link:
http://www.bardecode.com/download/barcode_sdk/ios/bardecode_iphone.zip
NOTE:
- The update in this version is only to the libbardecode.a library, so this is the only file that needs to be updated in an existing app that uses version 7.5.1 of our sdk.
- The updated version of the library will not work on armv6 devices such as the iPhone 3G, however since this device has no autofocus it is not suitable for barcode reading. It will however work on the iPhone 3Gs and later devices.
You can check whether or not you have the correct library by using the following command:
lipo -detailed_info libbardecode.a
If you get this output then you have the older version that will not build for the iPhone 5 (the text in bold indicates support for armv6):
Fat header in: libbardecode.a
fat_magic 0xcafebabe
nfat_arch 3
architecture armv6
cputype CPU_TYPE_ARM
cpusubtype CPU_SUBTYPE_ARM_V6
offset 68
size 1588696
align 2^2 (4)
architecture armv7
cputype (12)
cpusubtype cpusubtype (9)
offset 1588764
size 1581016
align 2^2 (4)
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 3169780
size 1431528
align 2^2 (4)
And if youy get this output then you have the newer version which will build for the iPhone 5 (the text in bold indicates support for armv7s):
Fat header in: libbardecode.a
fat_magic 0xcafebabe
nfat_arch 3
architecture armv7
cputype (12)
cpusubtype cpusubtype (9)
offset 68
size 1617256
align 2^2 (4)
architecture (cputype (12) cpusubtype (11))
cputype (12)
cpusubtype cpusubtype (11)
offset 1617324
size 1617040
align 2^2 (4)
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 3234364
size 1428704
align 2^2 (4)