链接错误与Parse.framework iOS [英] Link Errors with Parse.framework iOS
问题描述
我尝试在我的项目中导入分析框架。我确定它对我的项目很满意,但我无法找到任何关于它是否敏感的内容。我的项目是基于arc的。
这是我得到的错误:
架构i386的未定义符号:
_SCNetworkReachabilityCreateWithName,引用自:
- Parse(PFCommandCache.o)中的[PFCommandCache init]
+ [PFInternalUtils(Reachability)isParseReachable] in解析(PFInternalUtils.o)
_SCNetworkReachabilityGetFlags,引用自:
___ 22- [PFCommandCache init] _block_invoke in Parse(PFCommandCache.o)
+ [PFInternalUtils(Reachability)isParseReachable] in Parse PFInternalUtils.o)
_SCNetworkReachabilityScheduleWithRunLoop,引用自:
- Parse(PFCommandCache.o)中的[PFCommandCache init]
_SCNetworkReachabilitySetCallback,引用自:
- [PFCommandCache init ]在解析(PFCommandCache.o)
_SCNetworkReachabilityUnscheduleFromRunLoop,引用自:
- Parse(PFCommandCache.o)中的[PFCommandCache dealloc]
_SecItemAdd,引用在Parse(PFInternalUtils.o)中
+ [PFInternalUtils saveToKeychain:data:]
_SecItemCopyMatching,引用来自:
+ [PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
_SecItemDelete,引用自:
+ [PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
+ [PFInternalUtils deleteFromKeychain:] in Parse(PFInternalUtils.o)
_UTTypeCopyPreferredTagWithClass,引用自:
- Parse(PFFile.o)中的[PFFile getMimeType]
_UTTypeCreatePreferredIdentifierForTag,引用自:
- Parse(PFFile.o中的[PFFile getMimeType] )
_kCFStreamPropertyFTPAttemptPersistentConnection,引用自:
- Parse(PFHTTPCommand.o)中的[PFHTTPCommand scheduleInCurrentThread]
_kCFStreamPropertyHTTPAttemptPersistentConnection,引用自:
- Parse中的[PFHTTPCommand scheduleInCurrentThread] (PFHTTPCommand.o)
_kSecAttrAccessible,引用来自:$ b $ pa $(PFInternalUtils.o)中的$ b + [PFInternalUtils getKeychainQuery:]
_kSecAttrAccessibleAfterFirstUnlock,引用来自:
+ [PFInternalUtils getKeychainQuery:] in parse(PFInternalUtils.o)
_kSecAttrAccount ,引用自:
+ [PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
_kSecAttrService,引用自:
+ [PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
_kSecClass,引用自:
+ [PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
_kSecClassGenericPassword,引用自:
+ [PFInternalUtils getKeychainQuery:] in Parse (PFInternalUtils.o)
_kSecMatchLimit,引用自:
+ [PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
_kSecMatchLimitOne,引用自:
+ [ PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
_kSecReturnData,引用自:
+ [PFInter (PFInternalUtils.o)中的nalUtils loadFromKeychain:]
_kSecValueData,引用自:
+ [PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
_kUTTagClassFilenameExtension from:
- Parse(PFFile.o)中的[PFFile getMimeType]
_kUTTagClassMIMEType,引用自:
- Parse(PFFile.o)中的[PFFile getMimeType]
ld :符号(s)找不到架构i386
clang:错误:linker命令失败,退出代码1(使用-v查看调用)
请确保您链接到 I tried importing the parse framework in my project. I made sure it is liked with my project and I couldn't find anything about whether it is 'arc sensitive' or not. My project is arc based. This is the error I'm getting:
Make sure you link against the 这篇关于链接错误与Parse.framework iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! SystemConfiguration
和安全性
您的项目中的框架。有关更多详细信息,请参阅此问题。正如Hector在评论中指出的那样,所有Parse所需的框架都可以在 iOS快速入门指南< a>。
Undefined symbols for architecture i386:
"_SCNetworkReachabilityCreateWithName", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
"_SCNetworkReachabilityGetFlags", referenced from:
___22-[PFCommandCache init]_block_invoke in Parse(PFCommandCache.o)
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilitySetCallback", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[PFCommandCache dealloc] in Parse(PFCommandCache.o)
"_SecItemAdd", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
"_SecItemCopyMatching", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_SecItemDelete", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
+[PFInternalUtils deleteFromKeychain:] in Parse(PFInternalUtils.o)
"_UTTypeCopyPreferredTagWithClass", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
"_kCFStreamPropertyFTPAttemptPersistentConnection", referenced from:
-[PFHTTPCommand scheduleInCurrentThread] in Parse(PFHTTPCommand.o)
"_kCFStreamPropertyHTTPAttemptPersistentConnection", referenced from:
-[PFHTTPCommand scheduleInCurrentThread] in Parse(PFHTTPCommand.o)
"_kSecAttrAccessible", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrAccessibleAfterFirstUnlock", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrAccount", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrService", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecClass", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecClassGenericPassword", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecMatchLimit", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecMatchLimitOne", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecReturnData", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecValueData", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
"_kUTTagClassFilenameExtension", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
"_kUTTagClassMIMEType", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
SystemConfiguration
and the Security
framework in your project. See this question for more details. As Hector pointed out in the comments, all of the required frameworks for Parse can be found in the iOS Quick Start Guide.