2
我正在開發一個cocos2d應用程序,我需要集成youtube API上傳視頻到YouTube。 我已經集成了從here下載的gdata api。並且更改了項目設置,如下所示。錯誤集成谷歌API與iphone sdk
設置 其它鏈接器標記: -lxml2
其他C標誌: -DDEBUG = 1
C語言的方言: C99 [-std = C99]
加入 頭搜索路徑: /usr/include/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
有人知道如果該項目所需的任何額外的設置,如何解決這個問題 ?