{"id":1164,"date":"2012-09-25T11:22:41","date_gmt":"2012-09-25T11:22:41","guid":{"rendered":"http:\/\/www.bardecode.com\/en1\/?p=1164"},"modified":"2013-03-05T12:14:40","modified_gmt":"2013-03-05T12:14:40","slug":"iphone-5-problems-resolved","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/en1\/iphone-5-problems-resolved\/","title":{"rendered":"iPhone 5 problems resolved"},"content":{"rendered":"<p>We&#8217;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.<\/p>\n<p>The new version of the sdk can be downloaded from the following link:<\/p>\n<p><a href=\"http:\/\/www.bardecode.com\/download\/barcode_sdk\/ios\/bardecode_iphone.zip\">http:\/\/www.bardecode.com\/download\/barcode_sdk\/ios\/bardecode_iphone.zip<\/a><\/p>\n<p>&nbsp;<\/p>\n<hr id=\"system-readmore\" \/>\n<p>&nbsp;<\/p>\n<p>NOTE:<\/p>\n<ul>\n<li>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.<\/li>\n<li>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.<\/li>\n<\/ul>\n<p>You can check whether or not you have the correct library by using the following command:<\/p>\n<p>lipo -detailed_info libbardecode.a<\/p>\n<p>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):<\/p>\n<p>Fat header in: libbardecode.a<br \/>\nfat_magic 0xcafebabe<br \/>\nnfat_arch 3<br \/>\n<strong>architecture armv6<br \/>\ncputype CPU_TYPE_ARM<br \/>\ncpusubtype CPU_SUBTYPE_ARM_V6<br \/>\noffset 68<br \/>\nsize 1588696<br \/>\nalign 2^2 (4)<\/strong><br \/>\narchitecture armv7<br \/>\ncputype (12)<br \/>\ncpusubtype cpusubtype (9)<br \/>\noffset 1588764<br \/>\nsize 1581016<br \/>\nalign 2^2 (4)<br \/>\narchitecture i386<br \/>\ncputype CPU_TYPE_I386<br \/>\ncpusubtype CPU_SUBTYPE_I386_ALL<br \/>\noffset 3169780<br \/>\nsize 1431528<br \/>\nalign 2^2 (4)<\/p>\n<p>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):<\/p>\n<p>Fat header in: libbardecode.a<br \/>\nfat_magic 0xcafebabe<br \/>\nnfat_arch 3<br \/>\narchitecture armv7<br \/>\ncputype (12)<br \/>\ncpusubtype cpusubtype (9)<br \/>\noffset 68<br \/>\nsize 1617256<br \/>\nalign 2^2 (4)<br \/>\n<strong>architecture (cputype (12) cpusubtype (11))<br \/>\ncputype (12)<br \/>\ncpusubtype cpusubtype (11)<br \/>\noffset 1617324<br \/>\nsize 1617040<br \/>\nalign 2^2 (4)<\/strong><br \/>\narchitecture i386<br \/>\ncputype CPU_TYPE_I386<br \/>\ncpusubtype CPU_SUBTYPE_I386_ALL<br \/>\noffset 3234364<br \/>\nsize 1428704<br \/>\nalign 2^2 (4)<\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;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<\/p>\n<p><a href=\"https:\/\/www.bardecode.com\/en1\/iphone-5-problems-resolved\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[203],"tags":[],"class_list":["post-1164","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1164"}],"collection":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/comments?post=1164"}],"version-history":[{"count":2,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1164\/revisions"}],"predecessor-version":[{"id":1686,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1164\/revisions\/1686"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media?parent=1164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/categories?post=1164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/tags?post=1164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}