1

When I click any button that worked perfectly before I get this error:

2011-07-04 00:52:38.772 RPS-iPad[10930:207] *** Terminating app due to uncaught
exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 
'NSBundle </Users/Jared/Library/Application Support/iPhone 
Simulator/4.3/Applications/CA94658E-A732-4D51-BA50-0058E01C255F/RPS-iPad.app> (loaded)' 
with name 'FlipsideView''

*** Call stack at first throw:
(
0   CoreFoundation                      0x00dc75a9 __exceptionPreprocess + 185
1   libobjc.A.dylib                     0x00f1b313 objc_exception_throw + 44
2   CoreFoundation                      0x00d7fef8 +[NSException raise:format:arguments:] + 136
3   CoreFoundation                      0x00d7fe6a +[NSException raise:format:] + 58
4   UIKit                               0x004b20fa -[UINib instantiateWithOwner:options:] + 2024
5   UIKit                               0x004b3ab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
6   UIKit                               0x00369628 -[UIViewController _loadViewFromNibNamed:bundle:] + 70
7   UIKit                               0x00367134 -[UIViewController loadView] + 120
8   UIKit                               0x0036700e -[UIViewController view] + 56
9   UIKit                               0x00368a3d -[UIViewController viewControllerForRotation] + 63
10  UIKit                               0x00364988 -[UIViewController _visibleView] + 90
11  UIKit                               0x0060693c -[UIClientRotationContext initWithClient:toOrientation:duration:andWindow:] + 354
12  UIKit                               0x002de81e -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 954
13  UIKit                               0x00566619 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 1381
14  UIKit                               0x0036b65d -[UIViewController presentModalViewController:withTransition:] + 3478
15  RPS-iPad                            0x00003886 -[RPSViewController score:] + 199
16  UIKit                               0x002b74fd -[UIApplication sendAction:to:from:forEvent:] + 119
17  UIKit                               0x00347799 -[UIControl sendAction:to:forEvent:] + 67
18  UIKit                               0x00349c2b -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
19  UIKit                               0x003487d8 -[UIControl touchesEnded:withEvent:] + 458
20  UIKit                               0x002dbded -[UIWindow _sendTouchesForEvent:] + 567
21  UIKit                               0x002bcc37 -[UIApplication sendEvent:] + 447
22  UIKit                               0x002c1f2e _UIApplicationHandleEvent + 7576
23  GraphicsServices                    0x0171f992 PurpleEventCallback + 1550
24  CoreFoundation                      0x00da8944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
25  CoreFoundation                      0x00d08cf7 __CFRunLoopDoSource1 + 215
26  CoreFoundation                      0x00d05f83 __CFRunLoopRun + 979
27  CoreFoundation                      0x00d05840 CFRunLoopRunSpecific + 208
28  CoreFoundation                      0x00d05761 CFRunLoopRunInMode + 97
29  GraphicsServices                    0x0171e1c4 GSEventRunModal + 217
30  GraphicsServices                    0x0171e289 GSEventRun + 115
31  UIKit                               0x002c5c93 UIApplicationMain + 1160
32  RPS-iPad                            0x00001f54 main + 102
33  RPS-iPad                            0x00001ee5 start + 53
34  ???                                 0x00000001 0x0 + 1
)

terminate called after throwing an instance of 'NSException'

Everything worked fine in Xcode 3 but I recently switched to Xcode 4 and I know get this problem. Also, I recently used the duplicate for iPad option on my app. It works fine on the iPhone simulator. Thank you.

This is from a .xib file that was duplicated. I checked that it is correctly linked and the filenames are NAME~iPad.xib. Also, they are all relative to Project.

Jared Zoneraich
  • 561
  • 1
  • 5
  • 13

1 Answers1

1

Just some tips:

1)Are you sure the name is well written ("FlipsideView")?

2)Is the file added to the build?

Hope it helps

Rui Peres
  • 25,741
  • 9
  • 87
  • 137