我有一个空白的xcode文档并试图实现AdWhirl,当我构建它时,我有这个错误。
Undefined symbols:
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[AWNetworkReachabilityWrapper scheduleInCurrentRunLoop] in AWNetworkReachabilityWrapper.o
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[AWNetworkReachabilityWrapper unscheduleFromCurrentRunLoop] in AWNetworkReachabilityWrapper.o
"_SCNetworkReachabilityCreateWithName", referenced from:
-[AWNetworkReachabilityWrapper initWithHostname:callbackDelegate:] in AWNetworkReachabilityWrapper.o
"_SCNetworkReachabilitySetCallback", referenced from:
-[AWNetworkReachabilityWrapper initWithHostname:callbackDelegate:] in AWNetworkReachabilityWrapper.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
我需要一些帮助,谢谢
答案 0 :(得分:0)
你错过了SystemConfiguration.framework
。添加它,并检查您是否还有其他必需的框架。
来自AdWhirl iOS SDK Setup Instructions:
添加所需的系统框架 支持的广告网络:
AddressBook AudioToolbox AVFoundation CoreLocation libsqlite3 libz MapKit
iAd适配器需要以下附加框架:
iAd QuartzCore SystemConfiguration
答案 1 :(得分:0)
从现有框架添加“SystemConfiguration.framework”框架。