note: This answer assumes you will be able to run your app on an iPod touch. If you are using a resource not available on an iPod touch, like GPS for example, you may be being prevented from running your app by a GPS device requirement(see required device capabilities).
This sounds like a classic example of trying to run on an iPod touch 1st or 2nd gen without jumping through the apple imposed hoops. (Says finished running but never runs, logs are just spinning indicators.)
To build for these older devices, you must jump through these hoops:
How to add support for iOS 4.2
, armv6
in Xcode 4.2
and up:
Set your deployment target to 4.2 or earlier:
Modify Architectures to include armv6
like so:
1)Select Other,
2) Click on the "+" button,
3) Type in "armv6",
4) Click done.
Then remove armv7 from required device capabilities by clicking the "-" button in that row.
I personally use this method constantly to run apps on my iPod touch 2nd gen with the newest Xcode.
In fact the project that I used for this example now runs on that iPod.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…