简体   繁体   English

初学者:XCode 6-说基本SDK缺失

[英]Beginner: XCode 6 - Says base sdk missing

I was trying to do the ToDOList project explained in the tutorial from Apple "Start developing iOS app Today". 我正在尝试执行Apple的教程“今天开始开发iOS应用”中说明的ToDOList项目。 I downloaded the XCode 6 and created a new "Empty Application". 我下载了XCode 6,并创建了一个新的“空应用程序”。 The IDE looks different than how it is in the tutorial, it doesn't give me the option to choose the target device. IDE看起来与教程中的不同,它没有给我选择目标设备的选项。 Also, there was no code files created upon creating the project. 同样,在创建项目时也没有创建代码文件。 I also see an error that says "Base SDK missing". 我还看到一个错误,指出“缺少基本SDK”。 Can anyone tell me how to resolve this. 谁能告诉我如何解决这个问题。

Xcode 6 doesn't have the “Empty Application” template any more. Xcode 6不再具有“空应用程序”模板。 The one I think you used is just called “Empty”, and it creates a project with nothing at all in it. 我认为您使用的那个叫做“空”,它创建了一个完全没有内容的项目。 That's not what you want. 那不是你想要的。

You can start with the “Single View Application” template. 您可以从“单视图应用程序”模板开始。 If you want to empty it out, follow the instructions in this answer . 如果您要清空它,请按照此答案中的说明进行操作。

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

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