首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

'The NIB data is invalid.' foruncaught exception 'NSInternalInconsis

2013-10-22 
The NIB data is invalid. foruncaught exception NSInternalInconsistencyExceptionI faced this issue i

'The NIB data is invalid.' foruncaught exception 'NSInternalInconsistencyException'

I faced this issue in a very special situation.  To debugging the iOS7 issue in my XCode4.6, I copied the iOS7 SDK from xcode5 application into xcode4.6.  After that, I always met this error when running my App on the IPAD1 device with iOS5.1.  The App works fine on any other iOS6 above devices.

So if I remove iOS7 SDK folder from /Application/Xcode/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs, this exception will disappear.


I searched internet, most people met the issue just because "use Autolayout" was checked, but no one have the same issue with me above, so record it here for your reference.


热点排行