Getting error when using Mapkit in Xcode?

iphone-sdk-3.0, mapkit, objective-c, xcode

Solution

Frameworks (assuming 3.x) are in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks

Problem

NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (MKMapView) I am getting this error.Have I missed something? I don't know from where to add Mapkit framework. First I tried with `target->getInfo` and then from the bottom + sign added framework but that did not work. Then I searched in a spotlight and added another framework. By adding this it removed previous error but gives the above one. What is the exact location of Mapkit framework? I want to test it in simulator.

Original source