XCode:应用程序-> iPod Run/Build不上传应用程序 [英] XCode: application->iPod Run/Build not uploading app

查看:58
本文介绍了XCode:应用程序-> iPod Run/Build不上传应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode表示它可以在iPod上构建并完成运行,除非该应用程序不在iPod上.

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

在Mac OS X 10.7.2上使用Xcode 4.2.1

Using Xcode 4.2.1 on Mac OS X 10.7.2

还请注意,xcode的日志导航器"显示了许多状态轮旋转的构建/调试实例.

also note that the xcode"log navigator" shows a number of the build/debug instances with status wheels spinning.

在管理器上,我得到以下重复:

On the organizer I get the following repeating:

Sun Jan  1 15:34:53 unknown com.apple.mobile.lockdown[16] <Notice>: Could not receive size of message
Sun Jan  1 15:35:53 unknown lockdownd[16] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from iTunes. Killing connection

我已断开连接,关闭了程序,重新启动了Mac,但仍然遇到相同的问题.

I have disconnected, closed programs, rebooted the Mac, and still get the same problems.

推荐答案

注意:此答案假定您将能够在iPod touch上运行您的应用程序.如果您使用的是iPod touch上不可用的资源(例如GPS),则可能会由于GPS设备要求而无法运行您的应用程序(请参阅所需的设备功能).

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).

这听起来像是一个经典示例,它试图在iPod touch的第一代或第二代上运行而不会跳过苹果施加的声响. (说运行已完成但从未运行,日志只是旋转指示器.)

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:

如何在Xcode 4.2及更高版本中添加对iOS 4.2armv6的支持:

How to add support for iOS 4.2, armv6 in Xcode 4.2 and up:

将部署目标设置为4.2或更早版本: 修改体系结构以包含armv6,如下所示: 1)选择其他, 2)点击"+"按钮, 3)输入"armv6", 4)点击完成.

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.

然后通过单击该行中的-"按钮,从所需的设备功能中删除armv7.

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

我个人经常使用这种方法在iPod touch第二代上使用最新的Xcode运行应用程序.

I personally use this method constantly to run apps on my iPod touch 2nd gen with the newest Xcode.

实际上,我在此示例中使用的项目现在可以在该iPod上运行.

In fact the project that I used for this example now runs on that iPod.

这篇关于XCode:应用程序-&gt; iPod Run/Build不上传应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆