gpt4 book ai didi

iphone - 安装 openfeint 2.4.4 SDK 时出现构建错误

转载 作者:行者123 更新时间:2023-12-03 20:19:51 24 4
gpt4 key购买 nike

尝试安装 openFeint SDK 时出现 12 个构建错误。

使用配置调试构建项目 Rocket_pong 的 Invisible_Pong

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:
literal-pointer@__OBJC@__cls_refs@CLLocationManager in OFLocation.o
".objc_class_name_CLLocation", referenced from:
literal-pointer@__OBJC@__cls_refs@CLLocation in OFHighScoreAnnotation.o
literal-pointer@__OBJC@__cls_refs@CLLocation 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

这是我到目前为止所做的事情:

  1. 解压 openFeint 文件夹并将其拖到我的项目中
  2. 添加了适当的框架(包括 libsqlite3.dylib)
  3. 已将#import“openFeintPrefix.pch”添加到我的 APP_prefix.pch

最佳答案

您还必须包含 CoreLocation、CFNetwork 和 MapKit 框架。

关于iphone - 安装 openfeint 2.4.4 SDK 时出现构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2423537/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com