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

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.