ios - Flutter App 没有在 iOS 平台上运行
问题描述
在我遇到这个问题之后,我已经升级了我的颤振。它在 android 中完美运行,但在 iOS 中它无法正常工作并出现此错误。在这里,我分享了输出。请帮帮我,我花了很多时间来解决这个问题,但找不到任何解决方案。
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done. 4.5s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/alumniassociation02/Documents/my_app/ios/Runner/Info.plist:0: error: reading data: The file “Info.plist” couldn’t be opened because there is no such file.
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
这里是Xcode项目结构和Android Studio项目结构——
https://i.stack.imgur.com/lzcWI.png
https://i.stack.imgur.com/50RAv.png
更新了 Xcode 项目目录图片 https://i.stack.imgur.com/Lya26.jpg
解决方案
推荐阅读
- python - 将一个子索引转换为 Pandas 列
- angular - 由于不允许的 MIME 类型(“text/html”)而被阻止:部署在 tomcat 9.0.30 上的 Angular 8 无法提供资产
- c# - 错误 CLassInitialize 签名错误。方法必须是静态的,公开的,不返回值
- java - 如何避免 MVVM 模式中的空响应?
- python-3.x - 无论顺序如何,您如何确保字母组合不再出现?
- azure-active-directory - 是否可以在 GetUsers() 图形 api 调用中过滤掉未迁移到云的本地邮箱
- string - 基于正则表达式连接熊猫中的连续行
- swift - 如何实现返回地址的功能,而不仅仅是获取地址?
- python - 使用 Jinja2 和 for 循环
- python - 按数据计数的直方图