clisuper / CLFaceDetectionImagePicker

Live Face detection camera for iPad
MIT License
78 stars 16 forks source link

Xcode 9 : I am facing this can you please help #2

Open Rehmanbu opened 6 years ago

Rehmanbu commented 6 years ago

screen shot 2018-06-08 at 4 41 36 pm

Undefined symbols for architecture arm64: "_CMSampleBufferGetImageBuffer", referenced from: -[CLFaceDetectionImagePickerViewController captureOutput:didOutputSampleBuffer:fromConnection:] in CLFaceDetectionImagePickerViewController.o "_CMCopyDictionaryOfAttachments", referenced from: -[CLFaceDetectionImagePickerViewController captureOutput:didOutputSampleBuffer:fromConnection:] in CLFaceDetectionImagePickerViewController.o "_CMSampleBufferGetFormatDescription", referenced from: -[CLFaceDetectionImagePickerViewController captureOutput:didOutputSampleBuffer:fromConnection:] in CLFaceDetectionImagePickerViewController.o "_CMVideoFormatDescriptionGetCleanAperture", referenced from: -[CLFaceDetectionImagePickerViewController captureOutput:didOutputSampleBuffer:fromConnection:] in CLFaceDetectionImagePickerViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation

Rehmanbu commented 6 years ago

You need to add the CoreMedia.framework. Go to your target -> Build Phases -> Link Binary With Libraries and add it

thanks