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:
“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:
- Remove both the armv6 and armv7 items from the Valid Architectures build setting (for both the project AND the target)
- Create a new value and set it to: $(ARCHS_STANDARD_32_BIT)
- Clean the project builds and rebuild the project
- The project should build using the correct architecture setting
Hopefully, this info will save you some time when coding on ye olde Xcode 3 projects.

