Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/106.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 可指定:编译失败,因为';OBJC"类"$"MKMapView';和';OBJC#u CLASS_$u MKPinAnnotationView';_Ios_Sdk_Mapkit_Apportable - Fatal编程技术网

Ios 可指定:编译失败,因为';OBJC"类"$"MKMapView';和';OBJC#u CLASS_$u MKPinAnnotationView';

Ios 可指定:编译失败,因为';OBJC"类"$"MKMapView';和';OBJC#u CLASS_$u MKPinAnnotationView';,ios,sdk,mapkit,apportable,Ios,Sdk,Mapkit,Apportable,我正在编译我的源代码,它只是在不运行应用程序的情况下终止。 这是我得到的日志: Build/android-armeabi-debug/com.app4u.portaldorugby/PortalDoRugbyFeed/libPortalDoRugbyFeed.a(MapViewController.m.o):/Users/gringo/Desktop/PORTAL - 2014-02-20/Portal/PortalDoRugbyFeed/Native/MapViewController.m:

我正在编译我的源代码,它只是在不运行应用程序的情况下终止。 这是我得到的日志:

Build/android-armeabi-debug/com.app4u.portaldorugby/PortalDoRugbyFeed/libPortalDoRugbyFeed.a(MapViewController.m.o):/Users/gringo/Desktop/PORTAL - 2014-02-20/Portal/PortalDoRugbyFeed/Native/MapViewController.m:function L_OBJC_CLASSLIST_REFERENCES_$_17: error: undefined reference to 'OBJC_CLASS_$_MKMapView'

Build/android-armeabi-debug/com.app4u.portaldorugby/PortalDoRugbyFeed/libPortalDoRugbyFeed.a(MapViewController.m.o):/Users/gringo/Desktop/PORTAL - 2014-02-20/Portal/PortalDoRugbyFeed/Native/MapViewController.m:function L_OBJC_CLASSLIST_REFERENCES_$_77: error: undefined reference to 'OBJC_CLASS_$_MKPinAnnotationView'

scons: *** [Build/android-armeabi-debug/PortalDoRugbyFeed/apk/lib/armeabi/libverde.so] Error 1
scons: building terminated because of errors.
因此,这主要是MKPinAnnotationView和MKMapView的问题。 如果我没弄错的话,“入门包”会处理这个问题

有人能帮忙吗


干杯。

我们目前不支持MapKit,它也不在我们的路线图上。可以使用本机Android映射API实现您想要的功能

如果我使用谷歌地图怎么办?您承认它可以编译吗?您可以使用bridgekit创建objc类和方法,调用android的mapview类或类似类。