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をプロジェクトに追加する必要があります。

関連する問題