Error compiling storyboard files using Xcode 6 bet

2019-04-23 12:42发布

My app was building fine in Xcode 6 Beta 4. I updated to Beta 5 today and ran into 2 errors:

The file “Storyboard_iPad-SBPartialInfo.plist” couldn’t be opened because there is no such file.

Command /Applications/Xcode6-Beta5.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255

What is that SBPartialInfo.plist? I could not search for it via spotlight. My Storyboard files are storyboard_iphone and storyboard_ipad

4条回答
劳资没心,怎么记你
2楼-- · 2019-04-23 13:02

try to uncheck "Use Auto Layout" if it checked

查看更多
唯我独甜
3楼-- · 2019-04-23 13:06

Xcode is having a problem compiling your storyboard, but the error is not particularly helpful.

I have seen this happen in a few occasions, but most often due to a Popover Segue with a missing or illegal anchor such as a UITableViewCell or an item in a cell's contentView.

So, check any recently added Segues.

查看更多
混吃等死
4楼-- · 2019-04-23 13:12

I was also experiencing the following error after upgrading to Beta5:

Command /Applications/Xcode6-Beta5.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255

As is often the case, quitting and reopening Xcode seems to have fixed the issue.

查看更多
Lonely孤独者°
5楼-- · 2019-04-23 13:14

I don't know if this will help -- but I had the same latter error (the one with the error code 255). What I did was run the simulator with iOS7 (that worked fine for me). Then when I was there, I reset the simulator, cleaned, and ran with iOS8. So you could try resetting the simulator, cleaning, and then building. After doing the above, my project ran fine on iOS8.

查看更多
登录 后发表回答