Questions tagged [nsunknownkeyexception]

This is for the specific error: NSUnknownKeyException in iOS (Swift and Objective-C)

81 questions
0
votes
0 answers

NSUnknownKeyException error with UILabel swift

I keep getting this error with regards to a UILabel I have setup in a new class. 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key winnerLabel.'…
Adam Strike
  • 356
  • 1
  • 4
  • 16
0
votes
2 answers

UITableView throwing NSUnkownKeyException on creation of cell

I have really been struggling to fix this NSUnkownKeyException I am getting now upon creation of a cell in my UITableView. This is the line of code causing the error: let cell = tableView.dequeueReusableCellWithIdentifier("eventCell",…
Ryan Cocuzzo
  • 3,109
  • 7
  • 35
  • 64
0
votes
0 answers

'NSUnknownKeyException' occured, but I can't find wrong connection

I upgrade my iphone's ios ver to 10.0 and xcode's ver to 8.0(beta). Source code well done in xcode ver 7.3.1. but, when i run code in xcode 8.0, *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[…
Lisa
  • 171
  • 7
0
votes
0 answers

'NSUnknownKeyException' thrown whenever I try to make a connection in Xcode 7

I'm coding a little silly "Am I Alive" test for iOS, and I've encountered a strange problem with one of my View Controllers. When I link anything (Image Views, Buttons, etc.) to the View's corresponding Swift file, it throws, Terminating app due…
0
votes
1 answer

NSUnknownKeyException ? Why?

I have tried in Xcode7 for many times, but still follow the problem as below: TapWar[10487:391936] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]:…
Miao
  • 19
  • 3
0
votes
0 answers

File not found error in xcode compile

In my xcode project, I recompiled my project for testing rather than running and I received the following error message. (null): File not found: …
Dave
  • 873
  • 2
  • 15
  • 27
0
votes
0 answers

Display time in Xcode 7

I have problem with my code. Can anyone help me please? Error: 2015-12-10 19:57:58.890 time[1177:36084] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]:…
Chalko
  • 1
  • 1
0
votes
2 answers

UIViewController setValue:forUndefinedKey: with deleted xib

I recently deleted the xib for a particular UIViewController subclass. However, since then I have been getting the following error on device only, and not simulator: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason:…
ZeMoon
  • 20,054
  • 5
  • 57
  • 98
0
votes
1 answer

CustomCell is empty or results in SIGABRT error [W/Code]

I'm trying to create a video player that displays in a UITableView the thumbnails, titles and descriptions of the videos. When the user clicks on the raw it will open a new view with a WebView where the video will be played. In the present moment…
smbss
  • 63
  • 8
0
votes
1 answer

this class is not key value coding-compliant for the key storyboardName

My app crashes on launch with the following error: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key storyboardName.'
Kandhal Bhutiya
  • 198
  • 1
  • 9
0
votes
0 answers

Cordova 3.8.0 Build Causes Errors in Iphone Apps locking up at Splash Screen

I have downlaoded cordova 3.8 in order for the iphone app development to be 64 bit compliant for itunes when i run the default app on my iphone the app builds fine in xcode however it crashes at the splash screen on my phone the error message is as…
0
votes
1 answer

Update entity via table view

Is it possible to update a value in the entity from the configure cell function? I want to change the value of an entries attribute if a number is greater than the other. This is what i have so far but it crashes the app with an error: Terminating…
John
  • 63
  • 1
  • 6
0
votes
1 answer

this class is not key value coding-compliant for key

Sorry I do not have specific question but I cannot figure out how to get around this error. The app itself does not show any errors in Xcode but it crashes at start with the error message this class is not key value coding-compliant for the key…
punygod
  • 197
  • 2
  • 17
0
votes
1 answer

Swift NSUknowKeyException SIGABRT on launch

Okay I am having a major error here. I think the problem arose when I used the Assistant editor to link an Action from my captureButton to a captureButtonPressed. but I accidentally chose linked it as an Outlet, then I deleted the Outlet and did it…
izzy
  • 1,309
  • 1
  • 15
  • 25
0
votes
2 answers

NSUnknownKeyException for button click event

I am really new to iOS programming. I am just trying to make a button click event and when I run simulator an exception comes up 2014-10-27 12:00:00.859 practiceapp[682:28288] *** Terminating app due to uncaught exception 'NSUnknownKeyException',…
miracle-doh
  • 596
  • 1
  • 4
  • 19