扩展项目模板未出现在Xcode 6中 [英] Extension project templates not appearing in Xcode 6

查看:81
本文介绍了扩展项目模板未出现在Xcode 6中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定我是否是唯一一个遇到这个程序的人,但我已经尝试过搜索,但在我目前的情况下找不到任何人。我下载了Xcode 6 beta并对iOS 8的扩展编程感兴趣。但是,在Xcode中创建新项目时,我无法在项目模板中找到扩展,我看到了一个YouTube视频(与扩展编程无关)但我确实注意到该视频没有选项。现在,我已经浏览了Xcode 6 beta包的内容,并且能够自己找到实际的模板,所以我毫不怀疑它们存在,似乎它们实际上并没有被加载。

I'm not sure if I am the only one experiencing this program, but I have tried searching and have not been able to find anyone in my current situation. I downloaded Xcode 6 beta and was interested in Extension programming for iOS 8. However, I have been unable to locate the extensions in my project templates when creating a new project in Xcode, I saw a YouTube video (unrelated to extension programming) but I did notice that the option was not there for the said video. Now, I have had a look through the contents of the Xcode 6 beta package and have been able to locate the actual templates themselves, so I have no doubt they are present, it just seems that they are not actually being loaded.

为了记录,我还从GitHub下载了一些示例自定义键盘代码,以便查看Xcode是否会识别它,并且实际显示E图标在构建目标旁边。我还应该提一下,我的机器上还有一个Xcode 5版本。

For the record, I also downloaded some example custom keyboard code from GitHub in order to see whether Xcode will recognise it and it does, going as far as actually displaying the 'E' icon beside the build target. I should also mention that I do have a build of Xcode 5 also present on my machine.

是否还有其他人遇到此问题,或者有人知道如何克服它吗?

Is anyone else experiencing this issue, or does anyone know how to overcome it?

谢谢

推荐答案

您可以通过创建新目标来创建扩展程序在现有项目中。

You create a extension by creating a new target in an existing project.

选中链接了解更多信息

这篇关于扩展项目模板未出现在Xcode 6中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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