Flutter 高德地图编译时异常Debug.xcconfig line 1: Unable to find included file “Pods/Target Support Files/Pods

Xcode’s output:

=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Debug.xcconfig line 1: Unable to find included file “Pods/Target Support
Files/Pods-Runner/Pods-Runner.debug.xcconfig”
Debug.xcconfig line 1: Unable to find included file “Pods/Target Support
Files/Pods-Runner/Pods-Runner.debug.xcconfig”
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
ld: framework not found Flutter
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Could not build the application for the simulator.
Error launching application on iPhone XR.

解决方法在as的Terminal里面
1.保证在下面根目录下执行下面:
flutter clean
2.然后cd到ios目录执行下面:
cd ios
3.最后执行这一步:
pod install
4.运行下面发现地图出现了在ios模拟器上美滋滋

发布了47 篇原创文章 · 获赞 54 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/m0_37667770/article/details/94576116
今日推荐