Ionic 2 App Crash iOS 10.3.2 iPad

Hi !

When I launch an iOS version of my app from XCode, I have this error coming up.

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

The app just open and close immediately.
Help me please :frowning2:

Thanks

The SO questions involving your error suggest that there is some sort of stale reference inside the project to something that has been removed, so I would try blowing away the XCode project and rebuilding it. Perhaps even going so far as to remove and then readd the ios platform.

1 Like

This fixed my problem. I don’t know why it happened but thank you very much !