接口建设者XIB编译错误在Xcode 8

时间:2022-09-06 20:22:33

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.

在切换到Xcode 9然后回到Xcode 8之后,我的构建失败了,我得到了这个错误。我在Xcode 9上没有任何错误。

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

注意:我已经检查过:解决方案和解决方案,但是它不工作。

Why am I getting this error?

为什么会出现这个错误?

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".

BasketTotalView。xib:内部错误。请在bugreport.apple.com上提交一个错误,并附上“/var/folders/dg/ _yf1yfd15svdj48mrrws5vw0000gp /T/ ibm -agent-diagnostic s_2017-08-10_08 -35_271000”。

2 个解决方案

#1


15  

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.

#2


3  

I have solved this issue by following below steps:

我通过以下步骤解决了这个问题:

1. cmd + shift + k
2. cmd + option + shift + k
3. Restart Xcode
4. Restart your pc.

Hope this will also works for you. Thanks!

希望这对你同样有效。谢谢!

#1


15  

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.

#2


3  

I have solved this issue by following below steps:

我通过以下步骤解决了这个问题:

1. cmd + shift + k
2. cmd + option + shift + k
3. Restart Xcode
4. Restart your pc.

Hope this will also works for you. Thanks!

希望这对你同样有效。谢谢!