gpt4 book ai didi

ios - xcode Storyboard - ibtoold 解压缩异常

转载 作者:可可西里 更新时间:2023-11-01 03:36:15 25 4
gpt4 key购买 nike

异常(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 文件,并在 Controller 端绘制了整个图形。然后从git合并代码,解决冲突(很小心,3次reset了一遍..)

我检查了模拟器。构建目标版本,尝试不那么深入地更改“复制捆绑资源”命令。不 !还是失败了。 .

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

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

最佳答案

此错误可能有多种原因。使用 git 合并 Storyboard后出现此错误。我的 Storyboard也有自定义字体,我在阅读此线程后安装了它们(为此 +1),即使在那之后我也遇到了同样的错误。然后我搜索了所有发生冲突的地方,最后发现 inferredMetricsTieBreakers 中出现的 segue 之一没有在 Storyboard 中的任何地方使用。我删除了它并重新启动了 XCode,然后一切都恢复原状。

所以底线是彻底访问所有有冲突的地方,你应该能够解决大多数合并问题。

-阿诺普

关于ios - xcode Storyboard - ibtoold 解压缩异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15275126/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com