iOS uncaught exception isKindOfClass:NSArray.class - ios

I have been getting the below error while running my project in xcode 6.1.1, Can any please help to know what workarounds can be done to remove the below error.
[ERROR] Uncaught Exception: Invalid parameter not satisfying: [arguments isKindOfClass:NSArray.class]
libc++abi.dylib: terminating with uncaught exception of type NSException
Thanks
djrecker

I see something similar to this once in a blue moon. Have you tried cleaning the project? (In the menu: Product->Clean
Unfortunately I don't know what causes it (and I've been too lazy to attempt tracking it down), but that always clears it up for me when I see it.

Related

Error on Flutter iOS: libc++abi.dylib: terminating with uncaught exception of type NSException

I am trying to build my Flutter app on iOS but I got this error:
libc++abi.dylib: terminating with uncaught exception of type NSException
The error appear in AppDelegate.swift at class declaration.
I have no ideea why I got this error. Maybe someone could give my some advices to debug the problem.
Here is a screenshot with the error:
select a target for your googleService-info.plist by opening file inspector and check [Runner] to true for your target

Xcode error on running app with embedded framework

I am trying to create framework of my existing app which can be added to any other app as a module. In previous version of the app, i don't have any issues creating the framework and adding it to a demo app to test if it works. With newer version of the app, i am having an issue:
2017-04-21 13:59:02.238333-0400 XXX[8320:3762763] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(0x1868c2fd8 0x185324538 0x1867a4888 0x1010c3948 0x18c9f1f9c 0x18ca09a28 0x18cb8e2a0 0x18caa8c4c 0x18caa88b4 0x18caa8818 0x18c9ef158 0x189bdf274 0x189bd3de8 0x189bd3ca8 0x189b4f360 0x189b763c0 0x189b76e8c 0x1868709a0 0x18686e628 0x18686ea74 0x18679ed94 0x188208074 0x18ca57130 0x100084860 0x1857ad59c)
libc++abi.dylib: terminating with uncaught exception of type NSException
Any suggestions how to trace back the error inside the embedded framework?
It is happening only with the main View Controllers of the app, not on any off the second level View Controllers which are accessed from these main View Controllers.
I went through the code of the old version and the new version of the embedded framework, i don't see anything major to be different, checked Line by Line the whole code.
Any suggestions?
Thank you codealchimist for the solution, i figure out what i was missing in order to be able to debug it. The solution provided by him solves the problem to be able to debug the app & framework.

How to get complete error message in xCode?

I am getting the following error message in Xcode:
libc++abi.dylib: terminating with uncaught exception of type NSException
This is all that is shown. How can I see a stack trace? Is there some Xcode option I can enable to see more information about this error?
Thanks.
Oh, just figured it out! After the (llbd) in the console enter bt.

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

I am creating a game, where I run my app once and I get this type error:
libc++abi.dylib: terminating with uncaught exception of type NSException
Here is the image:
The Image
Build Phases
My Build Phases
If your using latest Xcode remove the library libc++abi.dylib from build phase and add libc++abi.tbd
Hopes this will fix the issue.
I have faced the same issue.
Check the name of the Storyboard identifier inside the Identity Inspector and make sure you use the same name.
(A good practice is to use the class name as the identifier)

There doesn't seem to be a valid compiled storyboard at path in xcode 7.3 on ios9.3

I'm writing application(iPad only app) for iPad(running iOS 9.3.3) its working well, but sometimes it get crashed by throwing,
2016-10-18 16:09:14.129 appName[239:23575] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'There doesn't seem to be a valid compiled storyboard at path '/var/containers/Bundle/Application/78FAE276-6B37-4A64-AB82-21F171D8E383/appName.app/PDSuperStory.storyboardc''
*** First throw call stack:
(0x2149f91b 0x20c3ae17 0x2611ff71 0x84a88 0x13ef90 0xa6150 0x10c4dc 0x145a58 0xbd1b7f 0xbd1b6b 0xbd6655 0x21461b6d 0x21460067 0x213af229 0x213af015 0x2299fac9 0x25a83189 0x111698 0x21057873)
libc++abi.dylib: terminating with uncaught exception of type NSException
Before this crash everything works fine no memory leaks showing in Instruments either. No solution working out after cleaning the project or re-installing application on device.
Any solution guys?
I was getting the same error till I just did Product>Clean Build Folder and now it seems all good.

Resources