IOS Simulator找不到SDK,并且模拟的应用程序退出错误 [英] IOS Simulator cannot find sdk and the simulated application quit errors

查看:267
本文介绍了IOS Simulator找不到SDK,并且模拟的应用程序退出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个月来,我一直遇到这个Xcode问题,无论何时我在Xcode上运行任何应用程序并说模拟的应用程序退出",我的iOS模拟器都会停止工作.和"iOS Simulator找不到SDK.可能需要重新安装SDK."我正在运行Xcode 4.3.3,并已安装iOS sdk 5.1,并进行了所有更新,但它也发生在我以前的Xcode版本中.我已经尝试超过10次重新安装Xcode,并且已经将这个问题发布了一段时间.没有人能够获得解决方案.我什至向苹果发送了一个错误报告,但是我不认为他们会回应.我已经尝试在其他线程中执行所有其他遇到此问题的人的操作.老实说,我正在考虑只购买一台新的Mac,然后看看Xcode是否可以在该Mac上运行,或者使用我当前的Mac来供苹果查看.因此,如果有人有任何想法,请告诉我.

I have been having this Xcode problem for a couple of months where my iOS simulator stops working whenever i run any application on Xcode and says, "The simulated application quit." and "iOS Simulator could not find the SDK. The SDK may need to be reinstalled." I am running Xcode 4.3.3 and have iOS sdk 5.1 and everything updated but it happened on my previous version of Xcode also. I have tried reinstalling Xcode over 10 times now and have been posting this question for a while now. No one has been able to get a solution. I have even sent in a bug report to apple but i don't think they will respond. I have tried doing everything every other person that has this problem has been told to do in other threads. I'm honestly thinking about just buying a new mac and seeing if Xcode will work on that one or taking in my current one to get looked at by apple. So if anyone has any ideas please let me know.

推荐答案

转到Xcode->首选项"->下载",并确保您在项目中选择的目标SDK"实际上已安装在下载"窗口下.对我来说,这神奇地被卸载了.一旦安装了我的应用程序使用的SDK,所有的一切都可以再次使用

Go to Xcode -> Preferences -> Downloads and make sure the "Target SDK" you have selected in your project is in fact installed under the Downloads windows. For me this magically was uninstalled. Once i installed the SDK that my app was using, all worked again

这篇关于IOS Simulator找不到SDK,并且模拟的应用程序退出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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