应用无法加载 [英] App failing to load

查看:81
本文介绍了应用无法加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

NSLayoutConstraint崩溃ViewController

最近更新Xcode后我的应用程序现在无法加载盐水这个毫无根据的例外我不知道从现在开始如何有人可以分享一些亮点,甚至修复这个将是很好的

recently after updating Xcode my app now fails to load brining up this unhanded exception of which i dont know where this has come from now if anyone could share some light or even a fix for this would be great

int retVal = UIApplicationMain(argc, argv, nil, nil);

*由于未捕获的异常'NSInvalidUnarchiveOperationException'而终止应用程序,原因:'无法实例化类名为NSLayoutConstraint
第一掷调用堆栈:
(0x15b1022 0x13a0cd6 0x1559a48 0x15599b9 0x9ba4a3 0x9ba67b 0x9ba383 0x8ba16d 0x8bbeb7 0x698ce1 0x698ff8 0x69817f 0x6a7183 0x6a7c38 0x69b634 0x2d1def5 0x1585195 0x14e9ff2 0x14e88da 0x14e7d84 0x14e7c9b 0x697c65 0x699626 0x2b1d 0x2a55为0x1)
终止叫抛出异常(lldb)*

推荐答案

您是否创建了一个使用添加的新自动布局的Xib在iOS 6?默认情况下,xCode现在使Xib文件使用自动布局。您可以通过取消选中xib文件检查器中的框来关闭xib中的自动布局。

Have you created a Xib which is using the new auto-layout added in iOS 6? By default xCode now makes Xib files use auto layout. You can turn auto layout off in your xib by un-checking a box in the xib file inspector.

这篇关于应用无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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