Xcode 4-IOS-模拟器不可用作构建目标 [英] Xcode 4 - IOS - Simulator not available as build target

查看:67
本文介绍了Xcode 4-IOS-模拟器不可用作构建目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个奇怪的问题……我无法找到模拟器作为测试我的应用程序的设备.有人知道如何解决吗?在一个新项目中,它仍然可用.

I have a weird issue... I'm unable to find the simulator as a device in order to test my application. Anyone have any idea how to fix it? In a new project, it is available though.

关于, EZFrag

Regards, EZFrag

推荐答案

这是我发生的事情……当我更新到最新版本的XCode(4.3.2)时,我没有费心卸载以前的版本.我错误地在不知道5.1的较旧版本的XCode中打开了我的iOS 5.1目标项目,结果模拟器不可用.因此,我将检查以下内容:

Here's what happened to me ... when I updated to the latest version of XCode (4.3.2) I didn't bother to uninstall the previous version. I mistakenly opened my iOS 5.1 targeted project in the older version of XCode that does not know about 5.1 and as a result the simulator was not available. So i would check for the following:

  • 查看您当前正在运行的XCode的版本
  • 尝试检查您的 iOS部署目标 ...(目标->部署).如果选择了iOS 5.1,请将其更改为iOS 5.0(模拟器将立即显示)
  • See which version of XCode you're currently running
  • Try checking your iOS Deployment Target ... (Targets -> Deployment). If iOS 5.1 is selected change it to iOS 5.0 (the simulator will show up immediately)

这篇关于Xcode 4-IOS-模拟器不可用作构建目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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