我不断收到此警告和错误任何人都可以帮忙吗?在文件中缺少必需的架构armv7?
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms /iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks//SystemConfiguration.framework/SystemConfiguration, missing required architecture armv7 in file
Undefined symbols for architecture armv7:
"_SCNetworkReachabilityCreateWithAddress", referenced from:
+[Reachability reachabilityWithAddress:] in Reachability.o
"_SCNetworkReachabilityCreateWithName", referenced from:
+[Reachability reachabilityWithHostName:] in Reachability.o
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[Reachability stopNotifier] in Reachability.o
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[Reachability startNotifier] in Reachability.o
"_SCNetworkReachabilitySetCallback", referenced from:
-[Reachability startNotifier] in Reachability.o
"_SCNetworkReachabilityGetFlags", referenced from:
-[Reachability connectionRequired] in Reachability.o
-[Reachability currentReachabilityStatus] in Reachability.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的应用程序在模拟器中工作正常我不明白这是它只是当我建立到手机。
你,我的朋友,摇滚。这花了30秒,立即为我解决了。谢谢。 – 2012-12-01 20:31:00
不错 - 感谢您的快速解决。 – Ramesh 2013-03-08 08:29:26
感谢您的支持!你刚刚从本来可以长时间的下午救了我:) – hover 2013-04-13 19:23:03