Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error MT0014: iOS 6 does not support building applications targeting ARMv6

Just upgraded xcode and monodevelop/monotouch to latest versions (see below) and suddenly I get this error when building for the IPhone as target (compiles well for the simulator). I've tried all combinations of setting "Supported architetures" in the project options dialog to ARMv6, ARMv7 and ARMv6 + ARMv7 as well as setting "deployment target" to 5.0, but it doesn't seem to matter - I always get the same error:

Error MT0014: iOS 6 does not support building applications targeting ARMv6 (MT0014)

MonoDevelop 3.0.4.7 Monotouch: 6.0.2 Mac OS X 10.7.5 Xcode 4.5 (1839)

like image 349
Johan Danforth Avatar asked Feb 19 '23 23:02

Johan Danforth


2 Answers

That's because Xcode 4.5 does not allow you to build for ARMv6 (the binaries are missing).

You can still build for ARMv6 if you use an older Xcode version (e.g. 4.4). This older version of Xcode can co-exists (side-by-side) with 4.5.

Note that you'll need to change the SDK location (inside MD preferences) to point to your Xcode 4.4 installation for this to work properly.

like image 127
poupou Avatar answered May 08 '23 00:05

poupou


Unless you really care about ancient devices (armv6 = iPhone 2G/3G, iPod 1G/2G) don't bother with armv6 anymore.

like image 34
ahwulf Avatar answered May 08 '23 01:05

ahwulf