2012-11-10 157 views
1

我有一個problem在我的iPad(5.1.1)中運行application。我使用新的Xcodesdk6Xcode | SDK 6 iOS 4.3+

我得到這個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) 

我需要做的,在老年IOS版本上運行我的應用程序是什麼?

回答

1

可能會在新的Xcode中的新創建的筆尖與iOS6的只是選中自動版式這樣是它的問題: -

上nib-點擊>顯示FileInspector->

enter image description here

則未檢查使用自動佈局像波紋管形象; -

enter image description here

我希望喲你解決你的問題