扑iOS:xcode看不到我的Podfile

问题描述

我正在构建一个Flutter应用程序,昨天我能够在ios上运行它。今天,我正在尝试使用完全相同的代码,但是xcode不会看到在查找程序中可见的podfile。

警告:

/Users/adnan/foody/ios/Flutter/Debug.xcconfig Debug.xcconfig第1行:无法找到包含的文件“ Pods /目标支持文件/Pods-Runner/Pods-Runner.debug.xcconfig

/Users/adnan/foody/ios/Flutter/Release.xcconfig Release.xcconfig第1行:无法找到包含的文件“ Pods /目标支持文件/Pods-Runner/Pods-Runner.release.xcconfig

错误

/Users/adnan/foody/ios/Flutter/Debug.xcconfig:1:在搜索路径中找不到包含的文件“ Pods /目标支持文件/Pods-Runner/Pods-Runner.debug.xcconfig

xcode view finder view

解决方法

我发生了同样的事情,请确认您最近是否添加了任何广告连播? 如果是,请尝试关闭项目,然后在iOS项目目录的终端上运行pod install。

然后再次打开项目,尝试运行它。

希望它能解决您的问题。