English 中文(简体)
在X条编码中使用地图时发现错误?
原标题:Getting error when using Mapkit in Xcode?
  • 时间:2009-10-11 08:29:17
  •  标签:

NSInvalid UnarchiveOperationException ,êt: ***-[NSKeyed Unarchiver decodeObject ForKey:]: can decode Object of category (MKMapView)

我正在发现这一错误。 我是否错过了东西?

我不知道在什么地方增加地图集框架。 首先,我尝试了<条码>目标与超标;getInfo,然后从下端+签字添加了框架,但并未奏效。 然后,我用一个亮点搜索了另一个框架。 添加这一句,删除了以前的错误,但提供了上述错误。

地图库框架的确切位置是什么? 我想用模拟器加以测试。

最佳回答

框架(假设3.x)载于/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Framework。

问题回答

With Xcode 3.2, MapKit is pre-populated in the Add → Existing Frameworks… dialog and simply requires selecting MapKit from the list.

http://cs491f09.wordpress.com/2009/10/30/assignment-6-adding-the-mapkit-framework/“rel=“nofollow noreferer” http://cs491f09.wordpress.com/2009/10/30/assignment-6-adding-the-mapkit-framework/





相关问题
热门标签