Xcode 看不到我的 iOS 设备,但 iTunes 可以 [英] Xcode doesn't see my iOS device but iTunes does

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

问题描述

我有一个奇怪的问题.

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

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 中选择 Window ➜ Organizer.现在在设备下,选择您的设备.如果尚未准备好进行开发,请单击用于开发.

  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天全站免登陆