首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Xcode错误:执行'flutter run‘命令时

Xcode错误:执行'flutter run‘命令时
EN

Stack Overflow用户
提问于 2020-05-11 10:37:43
回答 1查看 134关注 0票数 0

当我运行该命令时

代码语言:javascript
复制
flutter run

对于我的应用程序,它会给出以下错误:

代码语言:javascript
复制
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).

这背后可能的原因是什么,以及如何解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2020-05-11 11:31:41

清理您的构建并重新构建应该解决问题的应用程序。

代码语言:javascript
复制
flutter clean
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61721436

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档