ios - Xcode 错误:执行“flutter run”命令时
问题描述
当我运行命令时
flutter run
对于我的应用程序,它给出了以下错误:
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Running Xcode build...
Xcode build done. 7.5s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/Soumya/Desktop/fluttershare/build/ios/Debug-iphonesimulator/gRPC-C++/gRPCCertificates.bundle: replacing existing signature
/Users/Soumya/Desktop/fluttershare/build/ios/Debug-iphonesimulator/gRPC-C++/gRPCCertificates.bundle: resource fork, Finder
information, or similar detritus not allowed
Command CodeSign failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To
resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
这背后的可能原因是什么以及如何解决这个问题?
解决方案
清理您的构建并重建应该解决问题的应用程序。
flutter clean
推荐阅读
- julia - 是全球性的,还是不是
- mongodb - 如何删除golang mongodb组聚合中的嵌套字段?
- python - qtableview 无法显示新插入的行
- amazon-s3 - 在 NiFi FetchS3Object 中是否可以读取具有特定前缀的所有对象?
- python - 为什么我的代码按顺序遍历二叉树只记录第一个节点的值?
- javascript - 使用 Jest 在函数数组上仅模拟一个函数
- sass - 调整 Sass @at-root 规则的路径
- python - python中颜色的检测
- web-scraping - Gmail Scraping:获取发件人电子邮件地址的更快方法?
- cmake-gui - 解析错误。需要一个命令名称,左括号带有文本“(”。配置不完整,发生错误