Xcode 构建失败.单击 mainStoryBoard 时 Xcode 崩溃 [英] Xcode build fails. Xcode crashes on clicking mainStoryBoard

查看:26
本文介绍了Xcode 构建失败.单击 mainStoryBoard 时 Xcode 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅在运行(每个)iOS 项目时构建失败.其他 For 例如:命令行工具应用程序成功.此外,当我点击 MainStoryBoard 时,Xcode 崩溃了.

Build fails for running (every) iOS project only. Succeed's for other For Eg: Command line tool application. Also when I click on MainStoryBoard the Xcode crashes.

我的 Xcode:OS X Yosemite 10.10 版上的 5.0 版 (5A1413)

My Xcode: Version 5.0 (5A1413) on OS X Yosemite Version 10.10

出现两个错误:(1)命令

Getting two errors: (1)Command

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

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255

(2)

/Users/sky/Desktop/xcode projects/SKY/SKY/Images.xcassets:操作无法完成.(IBMessageChannelErrorDomain 错误1.)

/Users/sky/Desktop/xcode projects/SKY/SKY/Images.xcassets: The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)

我尝试过的东西.(1) 我试过在导航器中右键单击 Storyboard -> Show File Inspector -> 取消选中Use Autolayout".它没有解决.请帮忙!(2)我尝试过项目清理cmd+Shit+K,清理成功,构建失败!

Things I have tried. (1)I have tried Right click on Storyboard in the navigator -> Show File Inspector -> Uncheck "Use Autolayout". It does not solve. Please help! (2)I have tried project cleaning cmd+Shit+K, Clean succeeded, Build Failed!

推荐答案

这可能会有所帮助.创建一个新项目并检查行为是否相同.如果 Xcode 没有在您的新项目上崩溃,请打开您的有问题"项目并转到菜单产品"然后清洁",这可能会解决问题.我经常在 Visual Studio 和 Eclipse 中遇到这种情况.希望你能成功,请稍后发布解决方案.

This might help. Create a new project and check if the behaviour is the same. If Xcode doesn't crash on your new project, open your "problematic" project and go to the menu "Product" and then "Clean", that might fix the issue. That happens to me a lot with visual studio and eclipse. Hope you get it working, post the solution later please.

这篇关于Xcode 构建失败.单击 mainStoryBoard 时 Xcode 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆