我正在尝试将 Flurry 从 4.2.2 更新到 4.2.3 的最新版本。我已经更新了文件,但现在我遇到了各种链接错误。
Undefined symbols for architecture i386:
"_SecItemAdd", referenced from:
-[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_SecItemCopyMatching", referenced from:
-[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_SecItemDelete", referenced from:
-[FlurryKeychainWrapper removeObjectForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_SecItemUpdate", referenced from:
-[FlurryKeychainWrapper updateValueData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecAttrAccessible", referenced from:
-[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecAttrAccessibleWhenUnlocked", referenced from:
-[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecAttrAccount", referenced from:
-[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecAttrGeneric", referenced from:
-[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecAttrService", referenced from:
-[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecClass", referenced from:
-[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecClassGenericPassword", referenced from:
-[FlurryKeychainWrapper setupSearchForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecMatchLimit", referenced from:
-[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecMatchLimitOne", referenced from:
-[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecReturnData", referenced from:
-[FlurryKeychainWrapper dataForKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
"_kSecValueData", referenced from:
-[FlurryKeychainWrapper setData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
-[FlurryKeychainWrapper updateValueData:forKey:] in libSDLibrary.a(libFlurry.a-i386-master.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
至少可以说是相当令人沮丧的。我已经包含了 SystemConfiguration 框架(如此处所述)。我正在运行 xCode 4.6.3。关于问题可能出在哪里的任何想法?