本文介绍了xcode storyboard - ibtoold unarchiving exception的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例外是;

CompileStoryboard Catwall/en.lproj/MainStoryboard.storyboard
cd /Users/guvenozyurt/Desktop/git/catwall_ios
setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 5.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/guvenozyurt/Library/Developer/Xcode/DerivedData/Catwall-ghvlotdrbpzsfveimvmoxitsgpod/Build/Products/Debug-iphonesimulator/Catwall.app/en.lproj/MainStoryboard.storyboardc /Users/guvenozyurt/Desktop/git/catwall_ios/Catwall/en.lproj/MainStoryboard.storyboard --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk


2013-03-07 17:14:26.187 ibtoold[34122:707] Exception raised while unarchiving document objects - *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil/* com.apple.ibtool.errors *//Users/guvenozyurt/Desktop/git/catwall_ios/Catwall/en.lproj/MainStoryboard.storyboard: error: The document "MainStoryboard.storyboard" could not be opened. The operation couldn’t be completed. (com.apple.InterfaceBuilder error -1.)    Recovery Suggestion: Check the console log for additional informat..

最近,我删除了一个xib文件并在控制器端进行了整个绘图。然后合并来自git的代码,解决冲突(非常小心,3次重置并再次执行..)

Recently, I delete an xib file and make the whole drawing on controller side. Then merged the code from git, resolved conflicts (quite carefully, 3 times reset and did it again..)

我检查了模拟器。构建目标版本,试图改变复制包资源顺序不那么深刻。不!它仍然失败了。 。

I checked simulators. build target version, tried to change "copy bundle resources" order not so deeply . No ! It is still failed. .

ibtoold当然不是开源的,我知道那里发生了什么。 。

ibtoold is not opensource of course, and i do know what is going on there. .

我被困住了,需要帮助!谢谢..

i'm stucked and need help! Thanks..

推荐答案

试图打开一个项目 - 在故事板中设置自定义字体 - 在另一台计算机上遇到此问题。

Just ran into this when trying to open a project - with custom fonts set in a Storyboard - on another computer.

原来,需要将自定义字体添加到该计算机的Font Book中。

Turns out, the custom fonts needed to be added to that computers Font Book.

当然,在代码中也可以这样做。

Of course, doing it in code works too.

这篇关于xcode storyboard - ibtoold unarchiving exception的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 08:29