2
openFeint SDK를 설치하려고 할 때 빌드 오류가 12 개 있습니다.openfeint 2.4.4 SDK를 설치할 때 빌드 오류
다음Ld "build/Debug-iphonesimulator/Invisible Pong.app/Invisible Pong" normal i386
cd /Users/robkwok/Documents/rocket_pong
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk -L/Users/robkwok/Documents/rocket_pong/build/Debug-iphonesimulator -F/Users/robkwok/Documents/rocket_pong/build/Debug-iphonesimulator -filelist "/Users/robkwok/Documents/rocket_pong/build/rocket_pong.build/Debug-iphonesimulator/Invisible_Pong.build/Objects-normal/i386/Invisible Pong.LinkFileList" -mmacosx-version-min=10.5 -lobjc -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework Security -framework SystemConfiguration -lsqlite3 -o "/Users/robkwok/Documents/rocket_pong/build/Debug-iphonesimulator/Invisible Pong.app/Invisible Pong"
Undefined symbols:
".objc_class_name_CLLocationManager", referenced from:
[email protected][email protected][email protected] in OFLocation.o
".objc_class_name_CLLocation", referenced from:
[email protected][email protected][email protected] in OFHighScoreAnnotation.o
[email protected][email protected][email protected] in OFHighScoreMapViewController.o
"_kCFStreamErrorDomainSystemConfiguration", referenced from:
_kCFStreamErrorDomainSystemConfiguration$non_lazy_ptr in OFAsyncSocket.o
"_kCFStreamSSLValidatesCertificateChain", referenced from:
_kCFStreamSSLValidatesCertificateChain$non_lazy_ptr in OFCRVStompClient.o
"_kCFStreamErrorDomainNetDB", referenced from:
_kCFStreamErrorDomainNetDB$non_lazy_ptr in OFAsyncSocket.o
"_kCFStreamPropertySSLSettings", referenced from:
_kCFStreamPropertySSLSettings$non_lazy_ptr in OFAsyncSocket.o
"_kCFStreamErrorDomainNetServices", referenced from:
_kCFStreamErrorDomainNetServices$non_lazy_ptr in OFAsyncSocket.o
"_kCLLocationAccuracyBest", referenced from:
_kCLLocationAccuracyBest$non_lazy_ptr in OFLocation.o
"_kCFStreamSSLAllowsAnyRoot", referenced from:
_kCFStreamSSLAllowsAnyRoot$non_lazy_ptr in OFCRVStompClient.o
"_kCFStreamErrorDomainMach", referenced from:
_kCFStreamErrorDomainMach$non_lazy_ptr in OFAsyncSocket.o
"_kCFStreamSSLLevel", referenced from:
_kCFStreamSSLLevel$non_lazy_ptr in OFCRVStompClient.o
".objc_class_name_MKAnnotationView", referenced from:
.objc_class_name_OFHighScoreAnnotationView in OFHighScoreAnnotationView.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
내가 지금까지 한 일의 구성 디버그와 rocket_pong 프로젝트의 Invisible_Pong 빌드 :
- 압축을 푼 OpenFeint의 폴더를 내 프로젝트
- 추가 적절한을로 끌고 프레임 워크 (libsqlite3.dylib 포함)
- 내 APP_prefix.pch에 #import "openFeintPrefix.pch"를 추가했습니다.
당신은 나의 구세주입니다! 감사! –
Kenny의 답변을 올바른 것으로 표시하는 것을 잊지 마세요. 그가 평판 신용을 얻었습니다 (자신이 필요로하는 것처럼!) 또한 최신 OF에 대한 통합 지침은 매우 유용하며 필요한 프레임 워크의 전체 목록을 포함합니다. – Olie