I am new to iOS development and I am trying to get a simple HelloWorld application running on my second generation iPod touch (iOS 4.2.1). For development, I use a MacBook Pro with Mountain Lion and Xcode 4.4.1, since Xcode 4.5 apparently no longer supports the armv6 architecture. I created a new iOS project (a single-view application, without a storyboard) and set the deployment target in 4.2. When I run it in the iPhone 5.1 Simulator, it works fine (only an empty view, of course, printing βHello Worldβ will be my next step). However, if I try to run it on iPod touch, I always get the following error message:
Xcode cannot work with the selected device. Select a destination with a supported architecture to run on this device.
I tried changing the Architecture in the build settings from armv7 to armv6, but armv7 is the only option. What should I do to make the application run on my device?
source share