美文网首页
Xcode7 如何创建Empty Application

Xcode7 如何创建Empty Application

作者: YH的练手记 | 来源:发表于2015-10-13 18:54 被阅读510次

答案来自stack overflow: http://stackoverflow.com/a/28504124/5430805

A simple approach would be to copy the XCode 5's Empty Application template to XCode 6's templates directory.

You can download XCode 5's Empty Application template from here and copy it to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/iOS/Application directory.

Edit

As suggested by @harrisg in a comment below, You can place the above mentioned template in ~/Library/Developer/Xcode/Templates/Project Templates/iOS/Application/ folder so that it may be available even if Xcode gets updated.

And if there is no such directory present, then you might have to create this directory structure: Templates/Project Templates/iOS/Application/ in ~/Library/Developer/Xcode/

Using this simple approach i'm able to create an Empty Application in XCode 6. 

 Hope this helps!

原文中的附件下载地址为:https://dl.dropboxusercontent.com/u/65674657/Empty%20Application.xctemplate.zip

原文具体重要内容为下载答者提供的附件,复制到~/Library/Developer/Xcode/Templates/Project Templates/iOS/Application/下,重启Xcode即可创建empty application。亲测有效。如没有该路径,则创建。//~是资源库的目录的意思

原文链接貌似不翻墙打不开,我创建的百度云下载链接为:http://pan.baidu.com/s/1kTtSrf5

下载后解压,解压成功后为一个文件夹,把文件夹复制到该路径即可。

相关文章

网友评论

      本文标题:Xcode7 如何创建Empty Application

      本文链接:https://www.haomeiwen.com/subject/yguocttx.html