Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[!] The 'Pods-Runner' target has frameworks with conflicting names: mamapkit.framework. #27

Open
ghost opened this issue Sep 8, 2023 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 8, 2023

[!] The 'Pods-Runner' target has frameworks with conflicting names: mamapkit.framework.

@ghost
Copy link
Author

ghost commented Sep 8, 2023

amap_flutter_map: ^3.0.0 #高德地图
amap_flutter_location: ^3.0.0 #高德定位
flutter_2d_amap:
path: /Users/mei/developer/FlutterProjects/flutter_2d_amap

@simplezhli
Copy link
Owner

simplezhli commented Sep 8, 2023

s.dependency 'AMap2DMap'
s.dependency 'AMapSearch', "~> 8.1.0"
s.dependency 'AMapLocation', "~> 2.8.0"

看是不是其他两个地图库里面引用了一样的依赖,删掉就行了。

@ghost
Copy link
Author

ghost commented Sep 9, 2023

感谢回复~ 我原本项目里面集成了官方的插件amap_flutter_map,再集成flutter_2d_amap不行。知道是地图引用冲突了,flutter_2d_amap:里面包含AMap2DMap ,官方amap_flutter_map :里面包含AMap3DMap。但我项目业务里面已经使用了官方的AMap3DMap,我想两者都用不知有解决办法没?

@ghost
Copy link
Author

ghost commented Sep 9, 2023

我尝试过删除flutter_2d_amap里面的 s.dependency 'AMap2DMap' 用官方插件里面自带的 AMap3DMap,尝试编译报错。flutter_2d_amap有引用AMap2DMap。

@simplezhli
Copy link
Owner

两个都用这个我就不清楚了,无法帮到你。建议还是留一种。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant