在Xcode中构建应用时出现Flutter pods错误

问题描述 投票:2回答:2

当我尝试在Xcode中构建应用程序时,我在Xcode中遇到此错误。

/Users/Desktop/Flutter/weather/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')

我在工作之前添加geolocator: "^5.0.0"程序包后出现错误。还将代码还原为geolocator: "^5.0.0"之前的代码,并且可以正常工作,因此看来此程序包存在问题

flutter dart
2个回答
0
投票
这对我有用。

0
投票
谢谢,但是我认为问题是未在iOS目录中安装cocapods
© www.soinside.com 2019 - 2024. All rights reserved.