Ariejan de Vroom – 3 June 2011
189 words in about 1 minute

XCode 4 has a new, improved project structure. But sometimes, when you open an older project format (like XCode 3) you’ll face a little challenge before you can get to coding again. After opening an Xcode 3 project in Xcode 4, we received the message:

1
"No architectures to compile for (ARCHS=i386, VALID_ARCHS=armv6 armv7)."

Since all the architecture settings are configurable from the Build settings that was the first place to look. Strange enough, there were the settings that claimed to let the project build for the “armv6 armv7” architecture. So why didn’t this compile like it supposed to?

As it seems, Xcode 4 doesn’t always read these settings correct from the older project format. So here’s how we fixed this settings related issue:

Hopefully, this info will save you some time when coding on ye olde Xcode 3 projects.

Ariejan de Vroom

Software Engineer • CodeRetreat Facilitator • Ruby, Go and C Programmer • Electronics Apprentice