XCode: application->iPod Run/Build not uploading app

后端 未结 1 358
清酒与你
清酒与你 2020-12-18 15:19

Xcode says it builds and finished running on my iPod except the app is not on my iPod.

Using Xcode 4.2.1 on Mac OS X 10.7.2

also note that the xcode\"log nav

相关标签:
1条回答
  • 2020-12-18 15:42

    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: enter image description here Modify Architectures to include armv6 like so: 1)Select Other, enter image description here 2) Click on the "+" button, enter image description here 3) Type in "armv6", enter image description here 4) Click done.

    Then remove armv7 from required device capabilities by clicking the "-" button in that row.

    enter image description here 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.

    0 讨论(0)
提交回复
热议问题