Undefined symbols for architecture x86_64:
"_CMAudioFormatDescriptionGetStreamBasicDescription", referenced from:
-[captureNSObject init] in captureNSObject.o
"_CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer", referenced from:
-[captureNSObject captureOutput:didOutputSampleBuffer:fromConnection:] in captureNSObject.o
"_CMSampleBufferGetNumSamples", referenced from:
-[captureNSObject captureOutput:didOutputSampleBuffer:fromConnection:] in captureNSObject.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[Solution]
Add CoreMedia.framework into "Linked Frameworks and Libraries".
沒有留言:
張貼留言