libc++abi: terminating due to uncaught exception of type NSException iOS swift

 Problem:

2023-10-04 12:23:24.365335+0530 app[13458:2205823] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<app.myCell 0x1062af440> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key someView.'

*** First throw call stack:

(0x1c7a80cb4 0x1c0b203d0 0x1c7bedc6c 0x1c1d9e76c 0x1c9dd6cf0 0x1c9dd6afc 0x1c7accba8 0x1c9d78b48 0x1c9b7bc90 0x1c9b7af58 0x102e5e738 0x102e657fc 0x1049e9374 0x1049e9468 0x10541f4dc 0x10541f5ac 0x1c9c2f2b4 0x1ca1df9b0 0x1ca1dfc88 0x1c9b0ef1c 0x1c9b0e7e0 0x1c9aea420 0x1c8fa4f30 0x1c9bb4b30 0x1c9bb49e8 0x1c9bb25b8 0x1ca9c73bc 0x1c9b16494 0x1c9e38908 0x1c9e2a7a8 0x1c9e2a680 0x1c9e2a554 0x1c9bb45e8 0x1c9bb331c 0x1c9bb2d44 0x1c9bb2b70 0x1c9b85b60 0x1c9f8bf34 0x1c9c31d40 0x1c9d9add4 0x1c9d9867c 0x1c9d977e8 0x1ca2e1b34 0x1c9ce69ac 0x1c9d97264 0x1c9cd7e70 0x1c9cd7d2c 0x1ca24a4d8 0x1c9c85ca8 0x1c9c85bdc 0x1c9c85af0 0x1c9b24428 0x1c9f2876c 0x1c7b07234 0x1c7a91410 0x1c7af119c 0x1c7af63ec 0x20300c35c 0x1c9e82f58 0x1c9e82bbc 0x1d05100b0 0x1029e312c 0x1029e30a4 0x1029e463c 0x1e7028dec)

libc++abi: terminating due to uncaught exception of type NSException

(lldb) 


Solution:


In attribute inspector goto the last option.Then below that it had some yellow exclamatory symbol outlet connections are there.Remove those connections and run the app.It will works.
Because someView has an errored outlet connection


Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift