getting: *** Assertion failure in -[UIStoryboardPushSegue perform] - ios

I am Using Storyboard for a master/detail iPad app.
MenutabViewController is a UITabBarViewController.
Another Scene of the app starting from the same Controller, doing similar PUSH segues (push->master, push-detail) is OK. But this one gives me this message.
This message is never given again to someone else because I Googled a lot :p .
You can see an image of the storyboard here (not allowed to post one)
http://qupload.com/images/stackoverq.png
2012-11-13 17:13:47.244[9777:13d03] prepareForSegue: settingsStoreSegue
2012-11-13 17:13:47.244[9777:13d03] *** Assertion failure in -[UIStoryboardPushSegue perform], /SourceCache/UIKit_Sim/UIKit-2372/UIStoryboardBuiltInSegues.m:24
2012-11-13 17:13:52.323 IpposFfs[9777:13d03] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', **reason: 'Expected a navigation controller, but got an instance of 'MenuTabViewController' instead, while performing a split view controller push segue (identifier 'settingsStoreSegue') for index #0'**
*** First throw call stack:
(0x1cd6012 0x1606e7e 0x1cd5e78 0x109cf35 0x9a3ca2 0x995ad9 0x630422 0x7326b 0x5fd8d5 0x5fdb3d 0x1004e83 0x1c95376 0x1c94e06 0x1c7ca82 0x1c7bf44 0x1c7be1b 0x1c307e3 0x1c30668 0x54e65c 0x2cbd 0x2be5)
libc++abi.dylib: terminate called throwing an exception

Related

iPad Keyboard Error in swift 3

After I type on User Name and Password text boxes in app and then click on "Login" button, I got following error and app is crashed.
***** Assertion failure in -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3599.6/Keyboard/UIKeyboardTaskQueue.m:432
2017-05-09 10:30:00.984744 NetCast[657:113345] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] may only be called from the main thread.'
* First throw call stack:**
I encounter that problem whenever I login.

Connecting ViewController causes SpriteKit to terminate app

I have a SpriteKit game, but now I'm working on making a menu. I decided to try to make these menus in a normal way, using Storyboards and UIViewControllers.
However, this is proving to be very difficult.
I added a new UIViewController, and set it as the initial viewcontroller. This causes no problems. However, as soon as I hook this up to a completely basic UIViewController file (FirstMenuViewController.m), with no edits or additions, ViewController.m seems to freeze up at if(!skView.scene){.
I'm getting this error:
-[UIView scene]: unrecognized selector sent to instance 0x170164980
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView scene]: unrecognized selector sent to instance 0x170164980'
*** First throw call stack:
(0x187f7f100 0x1944881fc 0x187f83db4 0x187f81ae0 0x187ea178c 0x1001012ec 0x18af42f90
....
libc++abi.dylib: terminating with uncaught exception of type NSException
What I don't get is why ViewController.m is even called, as there is no connection to that file from my FirstMenuViewController which is set as the initial viewcontroller.
Could someone please explain to me what is going on here?
Turns out I was subclassing the ViewController supplied by the SpriteKit-template instead of UIViewController when creating my FirstMenuViewController

MZFormSheetController Assertion failure

I'm using Custom AlertView MZFromSheetController, but it gives me the following Exception
*** Assertion failure in -[MZFormSheetController presentAnimated:completionHandler:], /Users/dt4it/Documents/SucessQuotes11/SucessQuotes/MZFormSheetController.m:418
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempting to begin a form sheet transition from to while a transition is already in progress. Wait for didPresentCompletionHandler/didDismissCompletionHandler to know the current transition has completed'
Could anyone tell me how to solve this?
Ensure you aren't calling the presentation method multiple times, I just hit this exact issue and found that the code was being called 4 times. Reducing it down to 1 (as it should be) fixed up the Assertion failure Exception.

App is Crashing when clicking UINavigation back button ios?

When i tried to click one button it moved to next UIViewcontroller and from there i click back button and it came back to the previous UIViewcontroller ,suddently it crashed.
Following are the crash report
2013-08-19 12:02:19.849 MyApp[851:907] *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <CALayerArray: 0x1f1f1120> was mutated while being enumerated.' *** First throw call stack: (0x34a1d2a3 0x3c67797f 0x34a1cd85 0x36827ca3 0x36827d33 0x36827d33 0x36827d33 0x36827d33 0x36827b9b 0x36a0b585 0x368538af 0x368a3f19 0x3683aab3 0x368af8ef 0x365e4c01 0x3ca8e4b7 0x3ca8fdcb 0x349f0f3b 0x34963ebd 0x34963d49 0x384e02eb 0x36879301 0xdc439 0xdc3c0) libc++abi.dylib: terminate called throwing an exception

When clicking a cell, my app throws a NSInternalInconsistencyException

I am kind of a novice to programming and I thought I could find help here.
I am trying to make an app where when you click on the table view cell, it shows more detailed information. When you click the cell, the debug area opens up and I am given the following message:
2013-07-15 12:41:19.261 Chevy[3909:c07] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] loaded the "ToB-mL-k5t-view-Ref-qb-iy9" nib but didn't get a UITableView.'
* First throw call stack:
(0x1c99012 0x10d6e7e 0x1c98deb 0x24a357 0xfbff8 0xfc232 0xfc4da 0x1138e5 0x1139cb 0x113c76 0x113d71 0x11489b 0x114e93 0x8ef23f7 0x114a88 0x470e63 0x462b99 0x462c14 0xca249 0xca4ed 0xad45b3 0x1c58376 0x1c57e06 0x1c3fa82 0x1c3ef44 0x1c3ee1b 0x1bf37e3 0x1bf3668 0x1affc 0x212d 0x2055)
libc++abi.dylib: terminate called throwing an exception
Does anyone know what I am doing wrong? I can post some of my code if you'd like.
The IBOutlet is either disconnected in the xib file for the tableView or connected to some unwanted element.

Resources