i need to write the #import "ZBarSDK.h" into the #ifdef OBJ part, because Minizip does not work if there's an import at another place!
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "ZBarSDK.h"
#endif
but then i get an error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_ZBarReaderViewController", referenced from:
objc-class-ref in ViewController.o
"_ZBarReaderControllerResults", referenced from:
-[ViewController imagePickerController:didFinishPickingMediaWithInfo:] in ViewController.o
"_OBJC_CLASS_$_CIImage", referenced from:
objc-class-ref in ImageViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
anyone can help? myr0