title: iOS Simulator crashing in compile
body: <p>I'm new to xcode and this forum, so sorry for my unprofessional language.</p>
  
  <p>I have a problem with the iOS simulator crashing when I'm trying to run an app. It does not always happen, when I've just started working on a project everything's fine. But then suddenly after I just change something minor in the code the iOS simulator crashes as soon as it starts (compiling works). Xcode then takes me to the debugging page and also shows a lot of output in the bottom-right-corner-window (which I don't know what it's called). I don't get anything of the output, it says something about NSencryption. Once the iOS simulator has started crashing it will crash every time it starts running that project/app. Even if I undo my changes I did when it stopped working and even if I erase all of my code and everything looks like a new project, IT JUST WON'T RUN.</p>
  
  <p>Tried to call Apple support to solve this problem, but they said I should post a question in a forum, hope you can help me as I am really getting tired of this, I can't build anything.</p>
  
  <p>Btw I've tried to reset the iOS simulator but the same problem continues to occur.</p>
  
  <p>Here is the output I get from the 'console': Btw, please tell me if any of this code is sensible and I will remove it.</p>
  
  <p><code>2015-03-26 17:39:52.727 Testing123[19815:4331412] *** Terminating app  due to uncaught exception 'NSUnknownKeyException', reason: '[&lt;Testing123.ViewController 0x7f93ea8272c0&gt; setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key addFive.'
  *** First throw call stack:
  (
      0   CoreFoundation                      0x00000001026e1a75 __exceptionPreprocess + 165
      1   libobjc.A.dylib                     0x0000000104239bb7 objc_exception_throw + 45
      2   CoreFoundation                      0x00000001026e16b9 -[NSException raise] + 9
      3   Foundation                          0x0000000102afcd43 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259
      4   CoreFoundation                      0x000000010262b5e0 -[NSArray makeObjectsPerformSelector:] + 224
      5   UIKit                               0x000000010323b4ed -[UINib instantiateWithOwner:options:] + 1506
      6   UIKit                               0x0000000103099a88 -[UIViewController _loadViewFromNibNamed:bundle:] + 242
      7   UIKit                               0x000000010309a078 -[UIViewController loadView] + 109
      8   UIKit                               0x000000010309a2e9 -[UIViewController loadViewIfRequired] + 75
      9   UIKit                               0x000000010309a77e -[UIViewController view] + 27
      10  UIKit                               0x0000000102fb9509 -[UIWindow addRootViewControllerViewIfPossible] + 58
      11  UIKit                               0x0000000102fb98a1 -[UIWindow _setHidden:forced:] + 247
      12  UIKit                               0x0000000102fc5f8c -[UIWindow makeKeyAndVisible] + 42
      13  UIKit                               0x0000000102f700c2 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2732
      14  UIKit                               0x0000000102f72e3e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349
      15  UIKit                               0x0000000102f71d35 -[UIApplication workspaceDidEndTransaction:] + 179
      16  FrontBoardServices                  0x0000000105deb243 __31-[FBSSerialQueue performAsync:]_block_invoke + 16
      17  CoreFoundation                      0x0000000102616c7c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
      18  CoreFoundation                      0x000000010260c9c5 __CFRunLoopDoBlocks + 341
      19  CoreFoundation                      0x000000010260c785 __CFRunLoopRun + 2389
      20  CoreFoundation                      0x000000010260bbc6 CFRunLoopRunSpecific + 470
      21  UIKit                               0x0000000102f717a2 -[UIApplication _run] + 413
      22  UIKit                               0x0000000102f74580 UIApplicationMain + 1282
      23  Testing123                          0x00000001025051ee top_level_code + 78
      24  Testing123                          0x000000010250522a main + 42
      25  libdyld.dylib                       0x0000000104a15145 start + 1
  )
  libc++abi.dylib: terminating with uncaught exception of type NSException
  (lldb)</code></p>
  
  <p><strong>This is the code that gives me this error:</strong></p>
  
  <p>`   import UIKit</p>
  
  <pre><code>class ViewController: UIViewController {
      override func viewDidLoad() {
          super.viewDidLoad()
          // Do any additional setup after loading the view, typically from a nib.
          }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  
  }`
  </code></pre>
  
  <p>Here is the <a href="https://drive.google.com/folderview?id=0B6NqC1IBWuqrfjlzWUxYUndqRDFxVGFyQ2tic0Z5OEJQUEpLQmJOaWdFTHB1ZXZIMkJNd0E&amp;usp=sharing" rel="nofollow">project</a></p>