Xcode 4.2 and Three20 do not compile armv6

I have an app that works great in simulations in Xcode 4.2

To create and archive for publication in the AppStore, I get an error message indicating that I need to enable the armv6 build. The forums offer to clean up the build goals and enable the "armv6 armv7" I made. With the goal of deploying iOS for iOS 3.0

When I plug in my test iPod and start the archive operation (RELEASE build), I get the following error:

Ignoring the file / xxx / Release -iphoneos / libThree20UICommon.a, the file was built for an archive that is not related to architecture (armv6) (repeat all Three20 libraries)

"_ OBJC_CLASS _ $ _ TTTableViewDataSource" referenced by: Objc-class-ref in ContactsDataSource.o

I tried changing the "Build Active Architecture Only", which works, but does not include armv6 for the AppStore.

Has anyone encountered and solved this problem?

Thanks! Tim

+4
source share
4 answers

I found that the problem was solved for me and the installation of "Architecture" (and not "Virtual Arch") on "armv6 armv7". You need how you need to do this for each of the subprojects in the Three20 dependency folders, but success.

+1
source

I found a solution modifying the Three20.bundle file in resources, not just the project files from Three20.

Set "Only create an active architecture" to "No", and life will become bright again.

+1
source

I don't have my mac right now, but I think you also need to include armv6 in the plist.

0
source

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

0
source

Source: https://habr.com/ru/post/1382713/


All Articles