rolfbjarne/MonoTouch.ZBar

Forked from tystol/MonoTouch.ZBar

Language: C#


ZBar

This is a MonoTouch binding for the ZBar iOS SDK which can be found at

 http://zbar.sourceforge.net/iphone/sdkdoc/index.html

The current version of this binding is for ZBar iOS SDK 1.2

Compiling ZBar.dll

This binding hasn't been updated since the move from MonoDevelop to Xamarin Studio. If having trouble building via XS, see here: https://github.com/tystol/MonoTouch.ZBar/issues/2

Otherwise, simply drop the libzbar.a file into the /binding directory and run the makefile or open and compile the ZBar.MonoTouch.sln

Compiling for iOS-unified

Simply drop the libzbar.a (make sure it has all supported architecturs lipo -info libzbar.a It should output Architectures in the fat file: ../.lib/libzbar.a are: armv7 armv7s arm64

After that simple type $make unified and the output will be located at the same folder as project resides

Using ZBar.dll within your iOS apps

Add the ZBar.dll to your project's References list.

For Release builds, currently the native linker has to be explicitly configured to not strip the NSDictionary key constants. Add the following to the 'additional mtouch arguments' section of the iPhone Build project settings: --nosymbolstrip=ZBarReaderControllerResults

See here for details: http://stackoverflow.com/questions/15150412/

Project Statistics

Sourcerank 0
Repository Size 23.4 KB
Stars 1
Forks 2
Watchers 2
Open issues disabled
Dependencies 0
Contributors 3
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Rolf Bjarne Kvinge Tyson Joakim Carselind

Something wrong with this page? Make a suggestion

Login to resync this repository