Everything was right in the world until I upgraded to Xcode 4 a few days ago. Since then, I have had endless problems so that everything works as it should. And I have an important update that I need to release. I tried every permutation of settings that I can think of, restart, reinstall Xcode, go back to the old versions of my files, about everything.
My project is linked to three static libraries contained in three other projects. I used standard processes for linking libraries (drag and drop project files into mine, add their products as target dependencies, add lib ---. A files to the Link Binary With Libraries phase). And in fact, I have no problem compiling with the Debug configuration configuration, either for the simulator or for my test device.
Where everything goes sideways when I compile the Release Build configuration, or when I try to Archive. I got a lot of different errors depending on my settings, but most of them are variations:
ld: warning: ignoring the file [...] / Build / Products / Debug-iphonesimulator / libGDataTouchStaticLib.a, the file was created for an archive that is not related to architecture (armv6) Undefined characters for architecture armv6:
"_OBJC_CLASS _ $ _ GDataSpreadsheetData", link: objc-class-ref in ExportViewController.o
I canβt understand why he even looks at the products in the Debug-iphonesimulator directory (I swear everything that I connect finds itself in the Finder to be in the proper Release-iphoneos directory).
I set a ridiculous amount of hours to fix this, really need help! Thanks!
source share