Xcode 8 Extension disabled

徘徊边缘 提交于 2019-12-10 13:29:25

问题


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.

So I created almost basic extension like from WWDC video and sample tutorials, and for some reason this menu item is always disabled.

I ran sudo /usr/libexec/xpccachectl in Terminal and reboot the Mac. I am using 10.11.5 Mac OS.

Also I tested working examples from github like this (Screenshot 2) or this but they are also disabled.

**

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?


回答1:


I had the same problem and I think it's just a bug.

This worked in my case: restart Xcode 8, build/run the container app target before, and then run the Xcode extension target.



来源:https://stackoverflow.com/questions/38598768/xcode-8-extension-disabled

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!