我試圖將谷歌gtl framwork與我的應用程序集成。但它給錯誤如下。谷歌gtl框架集成給模擬器錯誤,但與設備
Ignoring file /Users/mani/Documents/Example/GooglePlusExample/SampleApp/Security.framework/Security, missing required architecture i386 in file /Users/mani/Documents/Example/GooglePlusExample/SampleApp/Security.framework/Security (2 slices)
"_SecItemAdd", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_SecItemCopyMatching", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_SecItemDelete", referenced from:
-[GTMOAuth2Keychain removePasswordForService:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_SecRandomCopyBytes", referenced from:
-[GPPSignIn randomString] in GooglePlus(GPPSignIn.o)
"_kSecAttrAccessible", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly", referenced from:
+[GTMOAuth2ViewControllerTouch saveParamsToKeychainForName:accessibility:authentication:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecAttrAccount", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecAttrGeneric", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecAttrService", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecClass", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecClassGenericPassword", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecMatchLimit", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecMatchLimitOne", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecRandomDefault", referenced from:
-[GPPSignIn randomString] in GooglePlus(GPPSignIn.o)
"_kSecReturnData", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
"_kSecValueData", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleOpenSource(GTMOAuth2ViewControllerTouch.o)
ld: symbol(s) not found for architecture i386
但我按照他們的指示正確。新增了安全框架,也正確設置了Other Linker Flags: -ObjC
。我可以假設,有一個愚蠢的錯誤。但我找不到。請幫幫我。
注:我使用xcode5.0。
更新:我加他們會提到的所有框架。看我的screeshot。
UPDATE2:現在,它的工作與iPod touch-5器件,但不能與仿真工作。我不知道,它如何與設備一起工作。
http://stackoverflow.com/a/18080078/2522603 ...檢查here..it是次要的錯誤...希望這會幫助ü... – ChenSmile
@Immi你能告訴那個小的失誤?該鏈接指向我的YouTube視頻。 – Mani
雅請通過視頻,我看到這個視頻之前,我面臨很多錯誤我解決了所有。我敢肯定,你也一樣。請檢查您所遵循的所有步驟。如有任何問題,請隨時提供給我。我在那裏回答你... – ChenSmile