例外的是;
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 当然不是开源的,我确实知道那里发生了什么。 。
我被困住了,需要帮助!谢谢..
导致此错误的原因可能有多种。使用 git 合并故事板后出现此错误。
我的故事板也有自定义字体,我在阅读此线程后安装了它们(+1),即使在那之后我也遇到了相同的错误。
然后我搜索了所有发生冲突的地方,最后发现其中之一segue
存在于inferredMetricsTieBreakers
没有在故事板的任何地方使用。我删除了它并重新启动了 XCode,然后一切都恢复原状。
所以底线是彻底访问所有有冲突的地方,你应该能够解决大多数合并问题。
-anoop
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)