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

use*_*604 17 xcode ios ibtool uistoryboard

我以前从未遇到过这个问题.该应用程序过去运行完美,但现在它总是说这个错误.我尝试过清洁和重启.我试过重置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
Run Code Online (Sandbox Code Playgroud)

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

对此的任何帮助都会很棒.我也有很大的故事板.那有关系吗?

提前致谢!

iVe*_*ela 13

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

我尝试编译时只是一个XIB给了我错误.

我试图清理项目,问题仍然存在.

然后我打开了给我带来问题的视图,我再次保存(没有改变任何事情)并且......瞧!我的应用程序启动并运行 XCode是撒旦的:)

  • 我甚至无法打开该文件.XCode立即崩溃. (4认同)

小智 7

在将xCode升级到版本7.0 beta 6之后,我也遇到了这个问题.

我的方式如下:

  1. 删除"DerivedData"文件夹

  2. 重建项目(它将创建新的"DerivedData"文件夹)

希望它会对某人有所帮助......


Nik*_*ook 5

清洁ang重建项目为我解决了问题(xcode 5)

Shift - cmd - K 
cmd - K
Run Code Online (Sandbox Code Playgroud)


Art*_*are 4

我最终遇到了这个问题,因为UITableViewstatic cells不在 a 中UITableViewController,而是有 a 的子类UIViewController。将我的子类更改为继承UITableViewController解决了问题。