简体   繁体   English

接口生成器文件Glitch中的Xcode未知类l

[英]Xcode Unknown class l in Interface Builder file Glitch

I keep encountering what I believe to be a bug in Xcode version Version 9.4.1. 我一直遇到Xcode版本9.4.1中的错误。 My code will run fine, then after making no adjustments to the storyboard/interface that would necessarily affect the ID or any of my outlets, I will get the error Unknown class l in Interface Builder file. 我的代码可以正常运行,然后在未对情节提要/界面进行任何可能会影响ID或我的出口的调整后,我将Unknown class l in Interface Builder file.收到错误Unknown class l in Interface Builder file.

I have tried investigating, but no luck. 我曾尝试调查,但没有运气。 I can't find any objects in my storyboard with the class l . 我在类l情节提要中找不到任何对象。 Last time, I was able to fix the error by hitting undo a few times. 上一次,我可以通过单击几次undo来修复错误。 However, hitting undo is not fixing the problem this time. 但是,这次单击撤消并不能解决问题。 Cleaning the project via SHIFT+CMD+K and restarting Xcode also have no affect. 通过SHIFT+CMD+K清洁项目并重新启动Xcode也没有影响。

Anyone else run into this error or have any idea how I could fix it? 还有其他人遇到此错误,或者有任何想法我该如何解决?

Update 更新资料

After opening and closing Xcode a few more times, the problem seems to have "magically" sorted itself out. 在多次打开和关闭Xcode之后,问题似乎已经“神奇地”解决了。 Odd, right? 奇怪吧? While I shouldn't look a gift horse in the mouth, I can't help but remain curious about what could've possibly caused this bug in the first place. 虽然我不应该在嘴上看起来像一匹礼物马,但我不禁对最初可能导致此错误的原因感到好奇。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM