2016-06-17 8 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.