当我归档它出现以下错误时,我在 x 代码 5 中使用 z bar SDK
Undefined symbols for architecture armv7:
"_CMSampleBufferGetImageBuffer", referenced from:
-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
"_CMSampleBufferIsValid", referenced from:
-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
"_CMSampleBufferDataIsReady", referenced from:
-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
"_CMSampleBufferGetNumSamples", referenced from:
-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)