No rule to process file for architecture armv6

Neelesh picture Neelesh · Sep 24, 2012 · Viewed 7.2k times · Source

I recently migrated to XCode 4.5 with iOS SDK 6.0. Now when i try to archive my app, i get a long list of compiler warnings all reading the same.

warning: no rule to process file '$(PROJECT_DIR)/Classes/Utils.m' of type sourcecode.c.objc for architecture armv6

warning: architecture armv6 is not supported (current ARCHS = "armv7 armv6").

I cannot understand the last line, it says armv6 is not not supported,but armv6 is present as you can see.

1) How do i fix this?

Screenshot of project file

2) What could be the implication of this? as this is just a warning? Will my app update not run of iphone 3gs?

Thanks

Answer

Sverrisson picture Sverrisson · Sep 24, 2012

Xcode 4.5 has dropped support for armv6 as the warning says. The setting is showing because you had it in a previous version of your project. Just change your setting to compile for armv7 and armv7s (iPhone5).

Apple has decided to drop support for old devices and thus armv6 is deprecated. I decided to drop support for armv6 devices due to this. All armv7 devices can be upgraded to iOS 5, so I also set that as the minimum version supported.