简体   繁体   English

升级的Xcode 4.3.2显示错误

[英]Upgraded Xcode 4.3.2 Showing Error

I just upgraded to Xcode 4.3.2 (the newest version). 我刚升级到Xcode 4.3.2(最新版本)。 When I try to run an app that I built in previous versions of Xcode, this error pops up: 当我尝试运行我在以前版本的Xcode中构建的应用程序时,会弹出以下错误:

Xcode cannot run using the selected device. Xcode无法使用所选设备运行。

No provisioned iOS devices are available with a compatible iOS version. 没有配置的iOS设备可用兼容的iOS版本。 Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination. 将iOS设备与最新版本的iOS连接以运行您的应用程序或选择iOS模拟器作为目标。

I made sure to change the iOS deployment target to 5.1. 我确保将iOS部署目标更改为5.1。 How can I get rid of this error? 我怎样才能摆脱这个错误?

All I did was press build and run. 我所做的只是按下构建并运行。 I want to run on the iOS Simulator. 我想在iOS模拟器上运行。

You can set Xcode to build to the simulator as illustrated below. 您可以将Xcode设置为构建到模拟器,如下所示。

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM