flutter 归档运行程序失败PBXCp

gcmastyq  于 2023-04-07  发布在  Flutter
关注(0)|答案(1)|浏览(125)

当XCode(10.2)启动Archive时,它在过程的最后失败,并显示PBXCp错误和错误消息:
错误:'/Users/stephan/Library/Developer/Xcode/DerivedData/Runner-aldqclpvkpdvmwfyjhvexmwcufmi/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner.app/Runner.app/Runner.app/Runner.app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner.app/Runner.app/Runner.app/Runner.app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner. app/Runner.app/Runner.app/Runner.app/Runner.app/GoogleService-Info.plist'的长度大于文件路径缓冲区大小(1025)。
我找到了一个可能的解决方案:从构建路径中删除Flutter.framework,但它没有帮助。
任何提示,可以使我的Flutter应用程序发布是非常欢迎的。
斯蒂芬

yacmzcpb

yacmzcpb1#

您可以通过从Copy Bundle Resources文件夹中删除Runner.app来解决此问题。
然后执行flutter cleanflutter run

相关问题