MMF not building for 2nd Gen iTouch - solution
Beta 3 & 4 of the iOS exporter on the latest Xcode is not building for iTouch 2nd generation devices. I happen to have iOS 4.2 on this device. I choose build and run, it compiles the code and then says finished running on iOS device. No icon is installed on the iTouch and nothing runs.
After a bit of googling, I found a solution.
Go to your project properties in Xcode, select your target and then open Architectures, selecting "Other" from the menu. A dialog appears and has some text in it (forget what it was now but began with $). Press the [ - ] button to remove it then hit the [ + ] button and enter armv6. Hit [ + ] again and enter armv7.
Can now build and run on my iOS second generation iTouch and also still working on my 4th gen iTouch too :)
Re: MMF not building for 2nd Gen iTouch - solution
But the Architecture property already has armv6 and armv7...
4 Attachment(s)
Re: MMF not building for 2nd Gen iTouch - solution
THe Valid Architectures property has armv6 and armv7 in it, but the Architectures property has this:
standard (armv7) - $(ARCHS_STANDARD_32_BIT)
The project will build and run on my 4th gen but not on my 2nd gen. I have to delete this option and add two new entries, one for armv6 and the other armv7 for it to build and run on both devices.
I've uploaded my project and mfa that demonstrates this.
Re: MMF not building for 2nd Gen iTouch - solution
I'm not sure if this is the new default setting in the latest Xcode as opposed to a change something mmf2 outputs? I had the same problem earlier, but used the same solution as you did, and all works fine.
Could be something to do with apple phasing out support for original 3G models, and therefore pushing devs away from armv6.
Re: MMF not building for 2nd Gen iTouch - solution
Yes, this only started happening since I updated my Xcode to the latest version.