更新到Xcode 5之后-ld:找不到架构armv7或armv7s链接器错误的符号
我刚将iPhone 4S软件更新到iOS 7 Beta 2时,我正处于对新应用程序(Phonegap)进行最后修改的过程中。 完成后,Xcode无法检测到我的iPhone,因此我安装了Xcode 5 beta。经过修改后,我终于得到了它来检测我的手机。现在唯一的问题是所使用的体系结构有错误。 这是产生的错误: ld: warning: ignoring file /Users/-----------/Library/Developer/Xcode/DerivedData/testtest-bmnbmujiosugcmgeiceofgcfmsec/Build/Products/Debug-iphoneos/libCordova.a, file was built for archive which is not the architecture being linked (armv7s): /Users/--------/Library/Developer/Xcode/DerivedData/testtest-bmnbmujiosugcmgeiceofgcfmsec/Build/Products/Debug-iphoneos/libCordova.a Undefined symbols for architecture armv7s: "_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from: _OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o "_CDVLocalNotification", referenced from: -[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o "_OBJC_CLASS_$_CDVCommandDelegateImpl", referenced from: _OBJC_CLASS_$_MainCommandDelegate …