Xcode 8 上的 Interface Builder XIB 编译器错误 [英] Interface Builder XIB compiler error on Xcode 8

查看:29
本文介绍了Xcode 8 上的 Interface Builder XIB 编译器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

切换到 Xcode 9 然后回到 Xcode 8 后,我的构建失败了,我收到了这个错误.不过我在 Xcode 9 上没有收到任何错误.

After switching to Xcode 9 then back to Xcode 8, my build is failing and I'm getting this error. I'm not getting any error on Xcode 9 though.

注意:我已经检查过:解决方案解决方案,但它不起作用.

Note: I've already checked :Solution and Solution, however it's not working.

为什么我会收到此错误?

Why am I getting this error?

BasketTotalView.xib:内部错误.请在 bugreport.apple.com 上提交错误并附上/var/folders/dg/_yf1yfd15svdj48mrrlws5vw0000gp/T/IB-agent-diagnostics_2017-08-18_10-08-35_271000".

BasketTotalView.xib: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/dg/_yf1yfd15svdj48mrrlws5vw0000gp/T/IB-agent-diagnostics_2017-08-18_10-08-35_271000".

推荐答案

Click on your .XIB file 

From Right side bar select "Show the file Inspector"

Go to "Interface Builder Document" section.

In "Open In" dropdown select Xcode 8.

Clear derived data, Build and Run. 

May this help you.

这篇关于Xcode 8 上的 Interface Builder XIB 编译器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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