http://zbar.sourceforge.net/iphone/sdkdoc/install.html
Requirements
You will need all of the following to develop iPhone applications using this SDK:
1)Mac OS X >= 10.6.x (Snow Leopard)
2)Xcode >= 3.2.3
3)iPhone SDK >= 4.0
4)An iPhone 3GS or iPhone 4
5)iOS >= 3.1 running on the device (>= 4.0 is preferred)
Warning: Only the iPhone 3GS and iPhone 4 are supported, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G and is unlikely to ever support it.
Download the latest binary release of the ZBar SDK from
http://zbar.sourceforge.net/iphone
The recommended installation method is to simply copy the SDK into your Xcode project:
1.Open ZBarSDK-1.2.dmg in the Finder.
2.Drag the ZBarSDK folder into your Xcode project. In the dialog that appears, you should choose to copy the SDK into your project by checking the box. The target that you want to link with the library should also be selected in the target list.
3.Link the following additional frameworks to any targets that link with the ZBarSDK. You should set the first three to use weak references and configure an appropriate deployment target if you still need to support iOS 3:AVFoundation.framework (weak)
CoreMedia.framework (weak)
CoreVideo.framework (weak)
QuartzCore.framework
libiconv.dylib
If you check “Link Binary With Libraries” for the target(s), you should see all of these frameworks followed by libzbar.a.
Note Link order may be important for some versions of Xcode; the referenced libraries should be listed before libzbar.a in the link order.
Import the SDK header from your prefix header to make the barcode reader APIs available:
#import "ZBarSDK.h"
All done, enjoy!