我刚刚更新我的iPhone 4S软件到iOS 7 Beta 2,而我正在把一个新的应用程序(Phonegap)的最后一个接触..不是一个好主意! 完成后,Xcode没有检测到我的iPhone,所以我安装了Xcode 5testing版。 经过修改后,我终于find了我的手机。 现在唯一的问题是使用的架构有错误。 这里是错误正在产生: 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 in MainViewController.o "_OBJC_CLASS_$_CDVCommandQueue", referenced […]