XCode 4.2 - 无法构建到设备 [英] XCode 4.2 - can't build to a device

查看:25
本文介绍了XCode 4.2 - 无法构建到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将我的 xcode 更新为 4.2,并将我的设备更新为 ios 5.
现在我已经这样做了,我似乎无法编译到我的设备上.
当我选择编译到iOS设备时,在以前的XCode版本中,它旁边曾经有我的设备iOS版本,但现在没有了.

I just updated my xcode to 4.2 and also my device to ios 5.
Now that I've done that, I can't seem to be able to compile to my device.
When I select compile to iOS device, in the previous XCode version, there used to be my device iOS version next to it but it's not there now.

也在编译,给了我这个错误.
没有配备兼容 iOS 版本的预配 iOS 设备.将 iOS 设备与足够新的 iOS 版本连接以运行您的应用程序或选择 iOS 模拟器作为目标."

Also compiling, gives me this error.
"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."

我在这里遗漏了一步吗?(我检查了我的设备确实有配置文件并且基本 sdk 设置为 5.0)

Am I missing a step here? (I checked that my device does have the provisioning profile and base sdk is set to 5.0)

谢谢,
三通

推荐答案

找到了,需要重新注册设备进行开发.
它被消灭了.组织者 -> 设备

Found it, need to re-register the device for development.
It got wiped out. organizer -> device

这篇关于XCode 4.2 - 无法构建到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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