[英]flutter project not running in IOS
I am getting errors when trying to run the flutter app in IOS.尝试在 IOS 中运行 flutter 应用程序时出现错误。 First I tried to run a project that was made in Windows for android and it worked but when I run the same project for IOS it doesn't work and shows the error of pod files as below:
首先,我尝试运行一个在 Windows 中为 android 制作的项目,它可以工作,但是当我为 IOS 运行相同的项目时,它不起作用并显示 pod 文件的错误,如下所示:
Unable to load contents of file list:
'/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-output-files.xcfilelist'
Unable to load contents of file list:
'/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-input-files.xcfilelist'
Unable to load contents of file list:
'/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-output-files.xcfilelist'
/Users/shikha/Desktop/vodome/ios/Runner/AppDelegate.h:1:9:
'Flutter/Flutter.h' file not found
even if I make a new project it doesn't work in IOS and is showing different errors like above and below:即使我创建了一个新项目,它在 IOS 中也不起作用,并且显示出不同的错误,例如上面和下面:
and the error keeps changing like this.并且错误像这样不断变化。 please if anyone can help me with this, let me know.
如果有人可以帮助我,请告诉我。 thank you
谢谢你
trying to following command.试图遵循命令。
Navigate to your project then run command in terminal:导航到您的项目,然后在终端中运行命令:
cd ios
pod install
it will update your podfile它会更新你的 podfile
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.