在iOS

时间:2018-05-02 04:15:34

标签: ios xcode delphi

我的开发环境:Delphi Tokyo 10.2.3,在Windows 10(x64)上运行。 XCode 8.2.1在Mac El Capitan 10.11.5上运行。

使用从http://delphi.radsoft.com.au/2013/11/checking-for-an-internet-connection-on-mobile-devices-with-delphi-xe5获得的32位版本的libReachability.a在Delphi中使用32位iOS目标构建iOS应用程序时,出现以下编译时错误:

[DCC错误] E2597 ld:警告:未知的矮人DW_FORM_strp(偏移= 0xFFFFCF2C)在libReachability.a中太大(Reachability.o)   ld:警告:未知的dwarf DW_FORM_strp(offset = 0xFFFFCF6F)在libReachability.a中太大了(Reachability.o)   架构armv7的未定义符号:     错误:“_SCNetworkReachabilitySetDispatchQueue”,引自: - libReachability.a中的[Reachability startNotifier](Reachability.o)​​; - libReachability.a中的[Reachability stopNotifier](Reachability.o)​​;       错误:“_SCNetworkReachabilityCreateWithName”,引自:libReachability.a中的+ [Reachability reachabilityWithHostname:](Reachability.o)​​;       错误:“_ CNCopySupportedInterfaces”,引自:C:\ Temp \ NetworkState \ iOSDevice32 \ Debug \ CaptiveNetwork.o中的__ZN14Captivenetwork25CNCopySupportedInterfacesEv;       错误:“_ CNCopyCurrentNetworkInfo”,引用自:C:\ Temp \ NetworkState \ iOSDevice32 \ Debug \ CaptiveNetwork.o中的__ZN14Captivenetwork24CNCopyCurrentNetworkInfoEP10__CFString;       错误:“_SCNetworkReachabilityCreateWithAddress”,引用自:libReachability.a中的:[Reachability reachabilityWithAddress:](Reachability.o)​​;       错误:“_SCNetworkReachabilitySetCallback”,引自: - libReachability.a中的[Reachability startNotifier](Reachability.o)​​; - libReachability.a中的[Reachability stopNotifier](Reachability.o)​​;       错误:“_SCNetworkReachabilityGetFlags”,引自: - libReachability.a中的[Reachability isReachable](Reachability.o)​​; - libReachability.a中的[Reachability isReachableViaWWAN](Reachability.o)​​; - libReachability.a中的[Reachability isReachableViaWiFi](Reachability.o)​​; - libReachability.a中的[Reachability connectionRequired](Reachability.o)​​; - libReachability.a中的[Reachability isConnectionOnDemand](Reachability.o)​​; - libReachability.a中的[Reachability isInventionventionRequired](Reachability.o)​​; - libReachability.a中的[Reachability reachabilityFlags](Reachability.o)​​; ...     错误:“_SCErrorString”,引自: - libReachability.a中的[Reachability startNotifier](Reachability.o)​​;       错误:“_SCError”,引自: - libReachability.a中的[Reachability startNotifier](Reachability.o)​​;   ld:找不到架构armv7的符号

有关如何解决此错误的任何想法?

0 个答案:

没有答案