ios – xcode storyboard – ibtoold unarchiving exception

前端之家收集整理的这篇文章主要介绍了ios – 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次重置并再次执行..)

我查了一下模拟器.构建目标版本,试图改变“复制捆绑资源”的顺序不是那么深刻.不!它仍然失败了. .

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

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

解决方法

试图在另一台计算机上打开一个项目 – 在Storyboard中设置自定义字体 – 时遇到了这个问题.

事实证明,需要将自定义字体添加到该计算机的Font Book中.

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

猜你在找的iOS相关文章