Xcode没有看到我的iOS设备,但iTunes确实如此 [英] Xcode doesn't see my iOS device but iTunes does

查看:127
本文介绍了Xcode没有看到我的iOS设备,但iTunes确实如此的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个奇怪的问题。

我有安装了iOS 5.0.1(9A405)的iPad和安装了Xcode 4.2(Build 4C199)的iOS SDK 5.0.1在我的Mac上。

I have an iPad with iOS 5.0.1 (9A405) and iOS SDK 5.0.1 with Xcode 4.2 (Build 4C199) installed on my Mac.

Xcode没有看到我的设备。它说iOS设备不像往常那样Sauron的iPad。

(我确信该设备已连接,因为我在iTunes中看到它。)
Xcode拒绝在设备上启动我的应用程序。
它说:

Xcode doesn't see my device. It says "iOS Device" not "Sauron's iPad" as usual.
(I am sure that device is connected because I see it in iTunes.) Xcode denies to start my application on device. It says:


Xcode无法使用所选设备运行。没有配置的iOS设备
可用兼容iOS版本。使用最新版本的iOS连接iOS设备
来运行您的应用程序,或者选择
iOS模拟器作为目标。

"Xcode cannot run using selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination."

Xcode使用iOS 4.3.3查看我的其他iPad,可以在此设备上运行应用程序。
我试图重启我的Mac - 没有结果。

Xcode sees my other iPad with iOS 4.3.3 and can run applications on this device. I have tried to restart my Mac - without result.

我还检查了配置文件,开发人员证书等。

I also checked provisioning profile, developer certificate, etc.

有人有想法吗?

推荐答案


  1. 选择窗口➜Xcode中的管理器。
    现在在设备下,选择您的设备。
    如果尚未准备好进行开发,请单击用于开发。

  1. Select Window ➜ Organizer in Xcode. Now under Devices, select your device. If it is not ready for development then click use for development.

如果上述内容无法解决您的问题,则从项目设置中进行设置部署目标为您的应用程序开发或更低的目标。

If above doesn't solve your problem then from your project settings, set deployment target to one which your app is developed for or lesser.

否则证书和配置文件存在一些问题。确保您正在使用的配置文件中添加了设备的UDID。

Otherwise there is some issue with certificates and provisioning profiles. Make sure your device's UDID is added in the provisioning profile you are using.

这篇关于Xcode没有看到我的iOS设备,但iTunes确实如此的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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