伙计们,我正在研究集成 google drive,我在 google sdk 示例中找到了来自 google-api-objectivec-client 的代码。
我搜索并发现,要解决这些问题,您需要添加 security.framewok 和 SystemCofiguration.framework ,我已经这样做了,但无法成功。
还发现将“框架搜索路径”更改为
"$(SDKROOT)/Developer/Library/Frameworks"
"$(DEVELOPER_LIBRARY_DIR)/Frameworks"
我也这样做,但不能缩短这些错误。
"_SecItemAdd", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GTMOAuth2ViewControllerTouch.o
"_SecItemCopyMatching", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_SecItemDelete", referenced from:
-[GTMOAuth2Keychain removePasswordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrAccessible", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly", referenced from:
+[GTMOAuth2ViewControllerTouch saveParamsToKeychainForName:accessibility:authentication:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrAccount", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrGeneric", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecAttrService", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecClass", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecClassGenericPassword", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GTMOAuth2ViewControllerTouch.o
"_kSecMatchLimit", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecMatchLimitOne", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecReturnData", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GTMOAuth2ViewControllerTouch.o
"_kSecValueData", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GTMOAuth2ViewControllerTouch.o
Symbol(s) not found for architecture i386
Linker command failed with exit code 1 (use -v to see invocation)
请帮助我,谢谢