我正在开发一个cocos2d应用,我需要集成youtube API才能将视频上传到youtube。 我已经集成了从here下载的gdata api。并更改了项目设置如下。
组 其他链接器标志: -lxml2
其他C旗帜: -DDEBUG = 1
C语言方言: C99 [-std = c99]
加入 标题搜索路径: 的/ usr /包括/ libxml2的 并添加了libxml2.dlyb
但是当我构建项目时收到以下错误消息
Undefined symbols for architecture i386:
"_SCNetworkReachabilityCreateWithName", referenced from:
-[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
"_SCNetworkReachabilitySetCallback", referenced from:
-[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
-[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
"_SecItemCopyMatching", referenced from:
-[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
"_SecItemDelete", referenced from:
-[GDataOAuthKeychain removePasswordForService:account:error:] in GDataOAuthViewControllerTouch.o
"_SecItemAdd", referenced from:
-[GDataOAuthKeychain setPassword:forService:account:error:] in GDataOAuthViewControllerTouch.o
"_kSecAttrAccount", referenced from:
+[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
"_kSecAttrGeneric", referenced from:
+[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
"_kSecAttrService", referenced from:
+[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
"_kSecClass", referenced from:
+[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
"_kSecClassGenericPassword", referenced from:
+[GDataOAuthKeychain keychainQueryForService:account:] in GDataOAuthViewControllerTouch.o
"_kSecMatchLimit", referenced from:
-[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
"_kSecMatchLimitOne", referenced from:
-[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
"_kSecReturnData", referenced from:
-[GDataOAuthKeychain passwordForService:account:error:] in GDataOAuthViewControllerTouch.o
"_kSecValueData", referenced from:
-[GDataOAuthKeychain setPassword:forService:account:error:] in GDataOAuthViewControllerTouch.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
任何人都知道如何解决这个问题 如果项目需要任何其他设置?
答案 0 :(得分:8)
包含此框架 SystemConfiguration.framework