ios - 如何修复 ibtool 失败,退出代码为 255

标签 ios xcode uistoryboard ibtool

我以前从来没有遇到过这个问题。该应用程序过去运行完美,但现在它总是说这个错误。我试过清理和重启。我试过重置 IOS 模拟器。我试过删除派生数据。

是这样写的:

CompileStoryboard YoungstersTennisApp/Base.lproj/Main_iPhone.storyboard
cd /Users/DJ/Desktop/YoungstersTennisApp
setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 6.0
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 --minimum-deployment-target 6.0 --output-format human-readable-text --compile /Users/DJ/Library/Developer/Xcode/DerivedData/YoungstersTennisApp-ftehnuqeslbyekfiszajlixujbqk/Build/Products/Debug-iphonesimulator/YoungstersTennisApp.app/Base.lproj/Main_iPhone.storyboardc /Users/DJ/Desktop/YoungstersTennisApp/YoungstersTennisApp/Base.lproj/Main_iPhone.storyboard

命令/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool 失败,退出代码为 255

任何对此的帮助都会很棒。我还有一个很大的 Storyboard。这重要吗?

提前致谢!

最佳答案

我在 XCode 6 和 iOS 8 上遇到了同样的问题。

当我尝试编译时,只有一个 XIB 给我错误。

我已尝试清理项目,但问题仍然存在。

然后我打开了给我带来问题的 View ,我再次保存了(根本没有改变任何东西)然后......瞧!我的应用程序启动并运行。 XCode 是邪恶的:)

关于ios - 如何修复 ibtool 失败,退出代码为 255,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20629140/

相关文章:

objective-c - 更改单元格内的 UIButton 图像

ios - 以编程方式添加 CenterX/CenterY 约束

ios - swift (IOS): Saving and Reading Data into/from a file

ios - Xcode Storyboard View Controller 中的多个 View ,其中一个不会出现在故事​​板编辑器中

ios - Swift 多 Storyboard - 如何访问特定的 Storyboard

ios - 通过代码为 NSLayoutConstraint 设置 "Respect Language Direction"

iphone - 无法摆脱继承的委托(delegate)方法警告

ios - 为某些 iOS 模拟器构建 CocoaPods 库时出错

ios6 - segue 样式 "Replace"后缺少导航栏按钮项

ios - Cocos2dX CCSpriteBatchNode - 无法加载 PVR 图像 Sprites.pvr.ccz