Question

I have an application running perfectly in the simulators in Xcode 4.2

To build and Archive to publish to the appstore I receive an error indicating I need to include a armv6 build. Forums suggest to clear the build-targets and include "armv6 armv7" which I did. With Ios Deployment target of iOS 3.0

When I hook up my test-iPod and start an archive operation (RELEASE build) I receive the following error:

Ignoring file /xxx/Release-iphoneos/libThree20UICommon.a, file was built for archive which is not the architecture being linked (armv6) (repeat over all Three20 libraries)

"_OBJC_CLASS_$_TTTableViewDataSource", referenced from: Objc-class-ref in ContactsDataSource.o

I have tried changing "Build Active Architecture Only", which works but doesn't include the armv6 for the appstore.

Has someone encountered and solved this problem ?

Thanks! Tim

Was it helpful?

Solution

i found that going through and setting the 'Architectures' (not 'Valid Arch') to 'armv6 armv7' fixed the problem for me. Tedious, as you have to do it to each of the subprojects in Three20's dependencies folders, but success.

OTHER TIPS

I found the solution changing the Three20.bundle file in resources and not just the project files of Three20.

Set "Build Active Architecture Only" to "No" and life is bright again.

I dont have my mac right now, but i think that you also need to include the armv6 in the plist.

I had to change the Project format from Xcode 3.1 to Xcode 3.2 - leaving Build Active Arch Only as "No"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top