问题描述
无论我在Interface Builder中选择了什么,Inspector显然没有注册选择,只显示No selection。
No matter what I've got selected in Interface Builder, the Inspector did apparently not register the selection and only showed "No selection".
我尝试打开和关闭文件,重启XCode甚至重启我的Mac。不用找了!到底发生了什么?
I tried opening and closing files, restarting XCode and even rebooting my Mac. No change! What the heck is going on?
其他项目工作正常。这只是这个项目......
Other projects work just fine. It's just this project...
推荐答案
这让我疯了很长时间。我在Stackoverflow上没有发现任何关于此的内容,最初也没有通过谷歌搜索。
This was driving me crazy for a long time. I found nothing here on Stackoverflow about this, and not by googling either, initially.
幸运的是,经过谷歌搜索后,我终于找到了简单的解决方案。
Luckily, after googling a couple of different ways, I finally found the simple solution here.
从该网站剪切:
- 在当前选项卡中选择另一个文件(不是Interface Builder类型)并出现问题。
- 打开一个新选项卡并选择Interface Builder文件有问题。
羞辱你,Apple!
这篇关于XCode Interface Builder显示“No selection”对于所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!