2013-12-17 3 views
0

나는 ... 나는이 링커 오류를 해결하기 위해 무엇을해야하는지 내가 어떤 프레임 워크를 추가 할 필요가 알고애플 마하-O 링커 오류

Ld ... normal armv7 
cd ... 
setenv IPHONEOS_DEPLOYMENT_TARGET 7.0 
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L...-esjhccmwalrxrdfeduounwwkhaef/Build/Products/Debug-iphoneos -F ...-esjhccmwalrxrdfeduounwwkhaef/Build/Products/Debug-iphoneos -filelist ...-esjhccmwalrxrdfeduounwwkhaef/Build/Intermediates/... -dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -framework AVFoundation -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker ... 

Undefined symbols for architecture armv7: 
    "_kCVPixelBufferPixelFormatTypeKey", referenced from: 
    -[MyAVController setupCapture] in AVController.o 
    "_CATransform3DIdentity", referenced from: 
    -[MyAVController setupCapture] in AVController.o 
    "_CMSampleBufferGetImageBuffer", referenced from: 
    -[MyAVController captureOutput:didOutputSampleBuffer:fromConnection:] in AVController.o 
    "_kCAGravityResizeAspectFill", referenced from: 
    -[MyAVController setupCapture] in AVController.o 
    "_CVPixelBufferLockBaseAddress", referenced from: 
    -[MyAVController captureOutput:didOutputSampleBuffer:fromConnection:] in AVController.o 
    "_CVPixelBufferGetWidth", referenced from: 
    -[MyAVController captureOutput:didOutputSampleBuffer:fromConnection:] in AVController.o 
    "_CVPixelBufferGetBytesPerRow", referenced from: 
    -[MyAVController captureOutput:didOutputSampleBuffer:fromConnection:] in AVController.o 
    "_CVPixelBufferGetBaseAddress", referenced from: 
    -[MyAVController captureOutput:didOutputSampleBuffer:fromConnection:] in AVController.o 
    "_CATransform3DRotate", referenced from: 
    -[MyAVController setupCapture] in AVController.o 
    "_OBJC_CLASS_$_CALayer", referenced from: 
    objc-class-ref in AVController.o 
    "_CVPixelBufferGetHeight", referenced from: 
    -[MyAVController captureOutput:didOutputSampleBuffer:fromConnection:] in AVController.o 
    "_CVPixelBufferUnlockBaseAddress", referenced from: 
    -[MyAVController captureOutput:didOutputSampleBuffer:fromConnection:] in AVController.o 
ld: symbol(s) not found for architecture armv7 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

궁금했지만, 나는 무엇을 알아낼 수 없습니다.

추가 정보가 필요하면 알려 주시면됩니다. 감사합니다.

+0

미디어 프로젝트를 수행하고 AVFoundation 프레임 워크를 연결 했습니까? – Kevin

+0

내 앱에 카메라를 표시하고 있는데 (iOS 개발의 초보자입니다.) AVFoundation Framework를 연결했는지 어떻게 알 수 있습니까? @ Kevin – Branch

+1

프로젝트 (파란색 최상위 파일)를 클릭하고 빌드 단계를 열고 라이브러리와 함께 이진 파일보기 – Kevin

답변

2

프레임 워크를 프로젝트에 가져 오는 것을 잊어 버린 것 같습니다. 즉, AVFoundation 프레임 워크입니다. 당신이 그렇게 여기에서

통 더는 CoreVideo, CoreMedia 프레임 워크와 AVFoundation를 추가해야 단계 가이드에 의해 단계는 방법을 모르는 경우 프레임 워크 를 가져 오지 않았다처럼