Could not load NIB in bundle ios10 - ios

On ios10 beta , my app is facing with crashes with exception:
NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'ContactDetailsViewController_iPad' .
I've never seen it before. My app is working fine with ios9 . Please help me. Thanks.

Related

Class PDFView is implemented in both

I am new to iOS development. I am getting this problem when I am debugging the iOS app.
Class PDFView is implemented in both
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PDFKit.framework/PDFKit
(0x129b9a7e8) and
/Users/captainajay/Library/Developer/CoreSimulator/Devices/5EE87C45-A6C4-42C6-B652-95AA55E4B031/data/Containers/Bundle/Application/F8EBE51A-2259-4D31-8C79-9116034478EF/Notes.app/Notes
(0x10dcaf340). One of the two will be used. Which one is undefined.
I know this might be the beginner issue. I am beginner to iOS.
I have renamed the PDFView -> PDFNoteView
Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'Could not load NIB in
bundle: 'NSBundle
(loaded)' with name 'PDFNoteView''

How to run iPhone application on iPad Mini in Xcode 7

I am trying to run iPhone app in Xcode on iPad mini - as it support iPhone compatibility app. This works on iPad 3 but not on iPad mini where I got this error from xCode:
2016-04-08 11:27:52.190 My app [6365:942940] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </private/var/mobile/Containers/Bundle/Application/path/to/my/app.app> (loaded)' with name 'SomeController' and directory 'Main.storyboardc''
*** First throw call stack:
(0x186186084 0x196b340e4 0x186185fc4 0x18ad10b80 0x18aecfce0 0x18ab94294 0x18ab93440 0x18ab91c00 0x18e365640 0x18613e360 0x18613d468 0x18613b668 0x186069664 0x18a97398c 0x18a96e984 0x100094ab4 0x1971a2a08)
libc++abi.dylib: terminating with uncaught exception of type NSException
I didn't find any informations about this problem. Is there workaround how to run iPhone app with Xcode on iPad mini?
If I use universal mode for app running its working properly but I want to restrict for iPhone only.
Thanks
Marekkk
Try check out the xib file in the file inspector. Mayby the app is not supported by iPad mini?
you got a typo in 'Main.storyboardc'
and that is not device-specific

iOS Simulator crashes when changing device type

iOS simulator (Version 8.1 550.3) constantly crashes when trying to change Hardware -> Device type.
From the console logs I can get this information but I am unsure what's exactly the setting that causes the crash. To be honest, I haven't changed much of the boilerplate settings yet.
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'LaunchScreen''
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 110.4 - Device: iPhone 6 - Runtime: iOS 8.1 (12B411) - DeviceType: iPhone 6
Any ideas?
EDIT: I have tried to clean the build folder and "Reset Content and Settings" of Simulator as suggested in similar questions. They didn't fix the problem.
You could try delete the content of the deriveddata folder:
~/Library/Developer/Xcode/DerivedData

IOS5 - Could not load NIB in bundle

I have an app in the appstore which works fine on any iOS < 5.0.
But in iOS5 my app won't launch, the error I get is:
Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'Could not load NIB in bundle: 'NSBundle
</var/mobile/Applications/****/***.app> (loaded)' with name 'MainWindow''
Does anyone know how to solve this error?
Update
The app seems to work on the iPad 2 but not on the iPad 1
(now I am even more confused)
The problem is probably that "MainWindow.nib" does not exist in the builded app. Either your xib is not named "MainWindow.xib" or your xib is not included into your project. YOu can check this by looking into the .app-directory on your phone or simulator.
I've got the same error yesterday and the problem was that I had a xib-file which was accidentally assigned a localization to. So maybe you have also added a localization to it then just remove it or provide a default one.

InternalInsonsistencyException in ios sdk4.3

Since I started using the IOS SDK4.3; not only have I experienced frequent crashes, I have also come across this very bad crash when I want to debug some apps:
Error Log:
"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'MainWindow''"
I have once escaped this horror by selecting a lower iPhone simulator version, but not all the time.
What could actually cause this?
Probably, MainWindow.xib no longer exists in your project.

Resources