2016-07-21 63 views
0

我有一個應用程序,我已經實現了一個社會登錄。但是,當我在我的項目添加Rechability類,它拋出錯誤可重複性問題與框架

ld: warning: ignoring file /Volumes/Backup/Running App/MAHLATI/Mahalati/Mahalati/SystemConfiguration.framework/SystemConfiguration.tbd, missing required architecture x86_64 in file /Volumes/Backup/Running App/MAHLATI/Mahalati/Mahalati/SystemConfiguration.framework/SystemConfiguration.tbd 
ld: warning: ignoring file /Volumes/Backup/Running App/MAHLATI/Mahalati/Mahalati/SafariServices.framework/SafariServices.tbd, missing required architecture x86_64 in file /Volumes/Backup/Running App/MAHLATI/Mahalati/Mahalati/SafariServices.framework/SafariServices.tbd 
Undefined symbols for architecture x86_64: 
    "_OBJC_CLASS_$_SSReadingList", referenced from: 
     objc-class-ref in GoogleSignIn(please_link_SafariServices.framework_.o) 
    "_SCNetworkReachabilityCreateWithAddress", referenced from: 
     +[Reachability reachabilityWithAddress:] in Reachability.o 
    "_SCNetworkReachabilityCreateWithName", referenced from: 
     +[Reachability reachabilityWithHostName:] in Reachability.o 
     -[GSDK_GTMOAuth2SignIn startReachabilityCheck] in GoogleAuthUtilities(GTMOAuth2SignIn.o) 
    "_SCNetworkReachabilityGetFlags", referenced from: 
     -[Reachability connectionRequired] in Reachability.o 
     -[Reachability currentReachabilityStatus] in Reachability.o 
    "_SCNetworkReachabilityScheduleWithRunLoop", referenced from: 
     -[Reachability startNotifier] in Reachability.o 
     -[GSDK_GTMOAuth2SignIn startReachabilityCheck] in GoogleAuthUtilities(GTMOAuth2SignIn.o) 
    "_SCNetworkReachabilitySetCallback", referenced from: 
     -[Reachability startNotifier] in Reachability.o 
     -[GSDK_GTMOAuth2SignIn startReachabilityCheck] in GoogleAuthUtilities(GTMOAuth2SignIn.o) 
     -[GSDK_GTMOAuth2SignIn stopReachabilityCheck] in GoogleAuthUtilities(GTMOAuth2SignIn.o) 
    "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from: 
     -[Reachability stopNotifier] in Reachability.o 
     -[GSDK_GTMOAuth2SignIn stopReachabilityCheck] in GoogleAuthUtilities(GTMOAuth2SignIn.o) 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 


我正在加入SystemConfiguration.frameworkSafariServices.frameworks

我也刪派生數據但錯誤沒有解決,我無法確定問題。

明天所有的事情都很好。但從今天起它不會。

請幫我一把。

+0

「我添加了SystemConfiguration.framework」,這就是答案,所以你一定在這方面犯了一個錯誤。 – Droppy

+0

我也添加了SystemConfiguration.framework。但錯誤沒有消失。 –

+0

@iosDeveloper我也越來越一樣的錯誤你有沒有解決這個問題?請幫我 – Bittoo

回答

1

添加safariservices.framework,這個固定我的問題

0

你忽略了SystemConfiguration.framework和Security.framework 從系統聯繫起來。