This is for the specific error: NSUnknownKeyException in iOS (Swift and Objective-C)
Questions tagged [nsunknownkeyexception]
81 questions
1
vote
1 answer
Swift UI Test fails on iphone4s simulator works well with others
I have a login screen in my app then after login view being dismissed a tabbar appears.
App itself works well in all devices/simulators. UI test works in all simulators except iphone 4s.
I think the reason is after login , it takes way too longer…

SpaceDust__
- 4,844
- 4
- 43
- 82
1
vote
1 answer
NSUnknownKeyException on app startup
Program starts up and then an error is thrown and it brings me to the appDelegate.swift file --class AppDelegate: UIResponder, UIApplicationDelegate { -- thread 1:signal sigabort
Here is the code:
import UIKit
class ViewController:…

Grumpy
- 155
- 10
1
vote
1 answer
Uncaught exception of type NSException
I'm beginning to teach myself Swift, I am truly a beginner and I am working on a calculator app just as an intro project. I keep getting a thread error and it is terminating with an uncaught exception of type NSException. I've read in several places…

Harry Koumjian
- 11
- 1
1
vote
2 answers
iOS Application Crashes NSUnknownKeyException When Trying to Load View with UIPickerView
I have an application that has a UIPickerView. The second I try to open the view in which it is contained, the application crashes with NSUnknownKeyException.
Here's the log:
2015-08-01 17:43:50.572 Patient Consent Project[1748:47245] ***…

Jesse Zhang
- 71
- 1
- 10
1
vote
2 answers
NSUnknownKeyException ios Objective C
I have created a Slide drawer for my ios app.. The slide drawer working perfectly... I have a few buttons and a Textbox in the Slide drawer... The problem is whenever i try to add reference to the button/textbox which is in the slide drawer, i am…

Rishad Appat
- 1,786
- 1
- 15
- 30
1
vote
1 answer
NSUnknownKeyException this class is not key value coding-compliant for the key
So I am working through a tutorial and I have made sure that I followed the author to the letter and my code throws the following error.
2014-10-01 22:26:14.545 stopwatch2[3503:861733] *** Terminating app due to uncaught exception…

Dan Beaulieu
- 19,406
- 19
- 101
- 135
1
vote
1 answer
this class is not key value coding-compliant for the key using images in parse
I'm trying to upload a photo to Parse and I am getting a strange error.
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for…

ZB-dev
- 219
- 3
- 12
1
vote
1 answer
Class is not key value coding compliant
I have a NavigationController, root view controller called "ViewController" and a second view controller called "SettingsViewController". I have a segue to the "SettingsViewController" from "ViewController" which worked until I tried to connect a…

chanceofthat
- 447
- 1
- 4
- 11
1
vote
1 answer
iOS Unknown exception thrown out of the blue
I've began to program an iOS application, but I ran into a sudden problem. The program worked as intended, I had a single view application, with navigation bar with title Title. When I compiled it, it was okay, but then I decided to "retitle" the…

Citrus
- 1,162
- 1
- 16
- 38
1
vote
1 answer
NSUnknownKeyException when filtering an array by NSPredicate
I have a really annoying bug. May be there is a trivial solution, but I can't get it.
I use NSPredicate often without any problem. Now the following bug comes: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[

Tom
- 3,899
- 22
- 78
- 137
1
vote
2 answers
App terminating due to uncaught exception NSUnknownKey Exception , key value not coding compliant
Sorry for asking such an easy question, but im a beginner
I was following a tutorial on building apps.
I was creating a button, but i accidently named it wrong, i named it instead of when creating the outlet. I named it right though when i created…

user1349130
- 85
- 1
- 4
0
votes
0 answers
How to assign a JSON array to another JSON array in Objective-C
I have two JSON objects and they are:
{
"list1": [{
"innerList": [{
"innerListItem1": 50,
"innerListItem2": 23,
"innerListItem3": false,
"innerListItem4": 43,
"innerListItem5":…

tpbafk
- 501
- 5
- 26
0
votes
1 answer
Set value to an cached image ends in crash
I am downloading an image and add it to my cache. That works fine, but when I want to add a value to my downloaded image in the cache, my code returns the error "Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[

JPJerry5
- 107
- 10
0
votes
1 answer
Google Amplify iOS App -> NSUnknownKeyException
I am trying to use the google federated sign-in feature provided by Cognito in an iOS App using AWSMobileClient. I have the latest amplify (4.11.0) and AWS toolkit.
I have the following in my pod file:
pod 'AWSAPIGateway'
pod 'AWSMobileClient'
pod…

Laurent Bourg
- 1
- 1
0
votes
1 answer
Xcode How can I fix the error linking my uilabel to xib file?
I'm using a xib file to create the cells for a couple collection views on the main page of my IOS app. The cell created in the xib file contains 3 ImageView elements and I recently added a UILabel. After adding the UILabel element to the cell, I…

userC-137
- 15
- 4