我之前从未遇到过这个问题。该应用程序过去运行完美,但现在它总是说这个错误。我尝试过清洁和重启。我试过重置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
对此的任何帮助都会很棒。我也有很大的故事板。那有关系吗?
提前致谢!
答案 0 :(得分:13)
我遇到了与XCode 6和iOS 8相同的问题。
当我尝试编译时,只是一个XIB给了我错误。
我试图清理项目并且问题仍然存在。
然后我打开了那个给我带来问题的视图,我再次保存了(没有改变任何事情)并且......瞧!我的应用程序启动并运行XCode是撒旦的:)
答案 1 :(得分:5)
清理重建项目解决了我的问题(xcode 5)
Shift - cmd - K
cmd - K
答案 2 :(得分:4)
我最后得到的问题是UITableView
static cells
UITableViewController
不在UIViewController
,而是有一个UITableViewController
的子类。将我的子类更改为继承自{{1}},修复了问题。
答案 3 :(得分:3)
清理项目,清理构建文件夹并重新启动xcode为我解决了这个问题。
答案 4 :(得分:1)
我在大合并之后也遇到过这个问题,当我点击.xib时,xCode就会退出。 也许你留下了一些旧的代码,检查视图的id,当xcode退出时,错误消息的详细信息屏幕中也显示有问题的id:
希望它会有所帮助,康斯坦丁
答案 5 :(得分:1)
删除我的一个视图控制器后,我在使用xcode 8.2之后遇到了这个问题。解决它我只是清理我的构建文件夹,它再次工作
清理构建文件夹:
或
答案 6 :(得分:1)
在Xcode 9上构建存档时出错:对我来说有用的是清理我的项目,然后为模拟器设备构建,然后再次尝试构建存档。 Xcode有时候很有气质......
答案 7 :(得分:1)
答案 8 :(得分:0)
我得到了同样的错误,我无法找到确切的解决方案。过了一段时间我意识到了我的问题。 我的项目文件是 AppDelegate.h
AppDelegate.m
LoginViewcontroller.h
LoginViewXontroller.m
LoginViewController.xib
我添加了一个新的故事板文件。我将标签和按钮连接从nib(.xib)文件更改为storyboard文件。之后我收到了这个错误。
我从故事板中删除了连接,并再次添加了与.xib文件的连接。清理并构建它解决了我的问题。我希望它对某人有帮助。