Reputation: 40634
I got this exception:
2014-02-19 19:08:34.590 MyApp[42353:70b] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named GLKView'
It is because I tried to add a GL view to my xib file this way:
What I want to achieve is to draw gradient background beneath the View (the one with Label 'City')
It is probably a commonly-seen exception because any more experienced iOS developers can tell I have no clue what I am doing.
My Questions:
Upvotes: 3
Views: 1039
Reputation: 1308
To solve this problem follow the steps
Note: if you Added any wrong framework just click on that framework and click on "-" button
Upvotes: 2
Reputation: 89509
You probably simply just need to add the "GLKit" framework to your project.
It's as simple as dragging the framework from the SDK folder into the "Frameworks" section of your project:
Upvotes: 9