libc++abi.dylib: terminating with uncaught exception of type NSException

Hello

I am having issues with this error when running my quiz game that has Fyber ad mediation, it keeps crashing the game when I tap on the level select button:

libc++abi.dylib: terminating with uncaught exception of type NSException

Code Block
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[FYBInterstitial stopRequesting:]: unrecognized selector sent to class 0x10451c600'
terminating with uncaught exception of type NSException

Any help would be greatly appreciated. Thanks

Replies

The most important part of the error message is here:
Code Block
'+[FYBInterstitial stopRequesting:]: unrecognized selector sent to class 0x10451c600'


That is stating there is a class FYBInterstitial, and some part of your code is trying to call the class method stopRequesting:, but the class actually does not implement the method.

Does your code have any parts calling stopRequesting:? (It may be described in the storyboard.)


What OOPer plus…

If you set an exception breakpoint you’ll stop in the debugger when this exception is thrown, which should make it easier to track down the cause.

To set an exception breakpoint, see Pause execution when events occur.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"