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.
Related
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''
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
I have some leaks in my App, and i tried to use Instruments (its my first time with instruments).
so at 05:29:365 i got
Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'Could not load NIB in
bundle: 'NSBundle
(loaded)' with name 'J3S-8n-bc0-view-ceq-kS-Ecs' and directory
'Main.storyboard''
here is my output, there is a leak, and i can't interpret it myself. ARC is on.
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
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.