Linker Error in Xcode 5 for Libzbar.A

Xcode : Apple Mach-O linker Error

libzbar.a library needs to be built for armv7s architecture. If you cannot do that (because you don't have source code for this library) than you should remove armv7s from valid architectures.
You can change valid architectures by following steps:

  • select project name from the Project Navigator
  • select project target
  • open Build Settings tab
  • change valid architectures field

Validation error for iPhone app using ZBar SDK

I could not find anything that would solve this problem. After going around in circles for several days, I removed every trace of the ZBar SDK from my app and instead used Apple's AVFoundation for QRCode support. This option was not available prior to iOS 7, but now that it is life becomes a whole lot easier!

Apple Mach-O Linker Error ZBarSDK error when building for distribution

Simply remove the bad architecture from Valid Architectures in Target Aguilar Settings and you're good to go :)



Related Topics



Leave a reply



Submit