Xcode 6.0中的非法配置 [英] Illegal configuration in Xcode 6.0

查看:66
本文介绍了Xcode 6.0中的非法配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Xcode中构建我的项目,但收到错误消息:非法配置启动屏幕可能没有连接".

Im trying to build my project in Xcode, but I get the error message: "Illegal Configuration Launch screens may not have connections".

我试图从启动屏幕文件"字段中删除该值,但出现相同的错误.我也尝试过进行干净的构建,但没有成功.

I have tried to remove the value from the "Launch Screen File"-field, but I get the same error. I've also tried to do a clean build without success.

有人可以帮助我吗?

推荐答案

LaunchScreen.xib is a new thing that came in with iOS 8 and Xcode 6. Your LaunchScreen.xib can not have any connections.

因此,这意味着您需要断开" showQuestion "和" showAnswer "操作以及所有在那里的出口.这些应该在视图控制器中使用不同的xib进行定义.

So what that means is you need to disconnect the "showQuestion" and "showAnswer" actions and all the outlets you have there. Those should be defined in a view controller using a different xib.

这篇关于Xcode 6.0中的非法配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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