Yesterday I updated the new Xcode 4.5 and I got an error in my build, and I'm not sure how I can fix it.
Everything works fine if I create a simulator, but when I try to create for Archive, for example, I get the following:
ld: warning: ignoring file /Users/corotchi/Library/Developer/Xcode/DerivedData/NJR_IR-ftjwhrqtxwedihfjrbjikbqqttkx/Build/Products/Release-iphoneos/libCordova.a, file was built for archive which is not the architecture being linked (armv7s): /Users/corotchi/Library/Developer/Xcode/DerivedData/NJR_IR-ftjwhrqtxwedihfjrbjikbqqttkx/Build/Products/Release-iphoneos/libCordova.a Undefined symbols for architecture armv7s: "_OBJC_CLASS_$_CDVURLProtocol", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_CDVViewController", referenced from: _OBJC_CLASS_$_MainViewController in MainViewController.o "_OBJC_METACLASS_$_CDVViewController", referenced from: _OBJC_METACLASS_$_MainViewController in MainViewController.o ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
and more errors below which are the same
Everything worked fine until u updated Xcode, I had one more problem before I read the forms in which I need to remove " ARMV6 " from the build settings, because it is no longer supported by the new iOS, and after that I get this problem.
I appreciate any help, Thanks !!!!
AlexC source share