Reputation: 155
I followed the instructions in the readme file and it worked fine when I ran it as debug config on simulator or device, but when I archived I got this error:
'ZXingObjC/ZXingObjC.h' file not found
I tried to set header search path in build settings as something like ./libs/ZXingObjC-8f83c0b
and then got the error
libs/ZXingObjC-8f83c0b/ZXingObjC/ZXingObjC.h:20:9: 'ZXingObjC/ZXAztecDecoder.h' file not found
any idea how to fix it? thanks
Upvotes: 3
Views: 2854
Reputation: 155
I figured it out. - add "$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts" to header search path - go to ZXingObjC project's build settings, change public header folder path from $(PROJECT_NAME)Headers to $(PROJECT_NAME)
Upvotes: 0