简体   繁体   English

Xcode | SDK 6 iOS 4.3以上版本

[英]Xcode| SDK 6 iOS 4.3+

I have a problem to run application in my iPad(5.1.1) . 我在iPad(5.1.1)运行application遇到problem I work with the new Xcode and sdk6 . 我使用新的Xcodesdk6

i get this error in the debugger: 我在调试器中收到此error

 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint'
*** First throw call stack:
(0x355df88f 0x33203259 0x355df789 0x355df7ab 0x32fc654d 0x32fc66bb 0x32fc6423 0x32f57001 0x32ec53c7 0x32da2c59 0x32d18c17 0x32d17461 0x32d09e87 0x32d7a7d5 0xd2701 0x32d17cab 0x32d117dd 0x32cdfac3 0x32cdf567 0x32cdef3b 0x332d122b 0x355b3523 0x355b34c5 0x355b2313 0x355354a5 0x3553536d 0x32d1086b 0x32d0dcd5 0xd2395 0xd22f8)
terminate called throwing an exception(lldb) 

What i need to do to run my application in older iOS Version? 在较旧的iOS版本中运行我的应用程序我需要做什么?

might be its problem at your new created nib in new xcode with ios6 just unchecked AutoLayout like this :- 可能是您在使用ios6的新xcode中使用新xcode新创建的笔尖时出现的问题,只是未选中AutoLayout,例如:

Tap on nib->show the FileInspector-> 点击nib->显示FileInspector->

在此处输入图片说明

then Unchecked Use Autolayout as like bellow image;- 然后取消选中“使用自动版式,就像下面的图片一样;-

在此处输入图片说明

i hope you solve your prob 我希望你能解决你的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM