Receiving a NSUnknownKeyException error when running an Ionic build in Xcode


#1

I just completed a build of an Ionic application that has been exported using the ionic build ios function. Up till this point, I have not received any errors what so ever.

However when I try to run the application from XCode the app will not even boot up due to the following errors that I am receiving in the debugger:

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x124d02c70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'

As I am a bit of a beginner with Ionic and Cordova, I am not sure where to look. Any information would be appreciated.


#2

I had the same exact issue. My solution is here: