2016-06-17 7 views
0

ShareKit을 iOS 프로젝트에 통합하려고합니다. 나는 프로젝트에 (같은 SystemConfiguration.framework 등) 몇 가지 추가 프레임 워크를 추가했지만, 연결하는 동안 항상 같은 오류로 실행 :Xcode 7.3.1 - 아키텍처 arm64 심볼이 없습니다.

"_SecItemUpdate", referenced from: 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


    "_kSecValueData", referenced from: 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


    "_kSecAttrLabel", referenced from: 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


    "_SecItemDelete", referenced from: 


     +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_SecItemAdd", referenced from: 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


    "_kSecAttrAccount", referenced from: 


     +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_kSecAttrService", referenced from: 


     +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_OBJC_CLASS_$_MFMailComposeViewController", referenced from: 


     objc-class-ref in SHK.o 


     ltmp1 in SHKMail.o 


     objc-class-ref in SHKMail.o 


     l_OBJC_$_CATEGORY_MFMailComposeViewController_$_SHK in SHKMail.o 


    "_kSecClassGenericPassword", referenced from: 


     +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_kSecReturnData", referenced from: 


     +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_kSecClass", referenced from: 


     +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_SecItemCopyMatching", referenced from: 


     +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_SCNetworkReachabilitySetCallback", referenced from: 


     -[Reachability startNotifier] in Reachability.o 


    "_SCNetworkReachabilityGetFlags", referenced from: 


     -[Reachability connectionRequired] in Reachability.o 


     -[Reachability currentReachabilityStatus] in Reachability.o 


    "_SCNetworkReachabilityCreateWithAddress", referenced from: 


     +[Reachability reachabilityWithAddress:] in Reachability.o 


    "_SCNetworkReachabilityCreateWithName", referenced from: 


     +[Reachability reachabilityWithHostName:] in Reachability.o 


    "_kSecReturnAttributes", referenced from: 


     +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


     +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in SFHFKeychainUtils.o 


    "_SCNetworkReachabilityScheduleWithRunLoop", referenced from: 


     -[Reachability startNotifier] in Reachability.o 


    "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from: 


     -[Reachability stopNotifier] in Reachability.o 


ld: symbol(s) not found for architecture arm64 


clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Here 내가 모든 추가 프레임 워크를 추가하는 방법의 스냅 샷입니다. 내 프로젝트 설정에 어떤 문제가있을 수 있습니까? 모든 조언은 매우 감사하겠습니다!

답변

0

동일한 문제가 발생했습니다. WeChat의 개발자는 형편없는 것 같습니다. 그들은 표본 작업을하지 않습니다.

문제를 해결하려면 Security.framework를 프로젝트에 추가해야합니다.