Xcode 8扩展已禁用 [英] Xcode 8 Extension disabled
问题描述
我尝试创建新的Xcode 8
Source Editor Extension
,但是由于某些原因,基本示例始终是disabled
(屏幕截图),我不确定是否是Beta版的错误版本或我缺少什么.
I tried to create new Xcode 8
Source Editor Extension
, but for some reason basic examples are always disabled
(screenshot) for me and I am not sure whether it is some bug with beta version or I am missing something.
所以我创建了几乎基本的扩展程序,例如WWDC视频和示例教程中的扩展程序,由于某种原因,此菜单项始终被禁用.
So I created almost basic extension like from WWDC video and sample tutorials, and for some reason this menu item is always disabled.
我在终端中运行了sudo/usr/libexec/xpccachectl并重新启动了Mac.我正在使用10.11.5 Mac OS.
I ran sudo /usr/libexec/xpccachectl in Terminal and reboot the Mac. I am using 10.11.5 Mac OS.
我还测试了来自github的工作示例,例如此 (屏幕截图2)或此,但它们也被禁用.
Also I tested working examples from github like this (Screenshot 2) or this but they are also disabled.
**
所以我的问题是:是因为Xcode 8仍处于测试版中还是因为我的某些缺失而无法使扩展正常工作的配置错误?
So my questions is: Is that some sort of bug as Xcode 8 is still in beta or some configuration is missing from my side to make extension work?
推荐答案
我遇到了同样的问题,我认为这只是一个错误.
I had the same problem and I think it's just a bug.
在我的情况下这有效:重新启动Xcode 8,之前先构建/运行容器应用程序目标,然后运行Xcode扩展目标.
This worked in my case: restart Xcode 8, build/run the container app target before, and then run the Xcode extension target.
这篇关于Xcode 8扩展已禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!