当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应用程序发布是非常欢迎的。
斯蒂芬
1条答案
按热度按时间yacmzcpb1#
您可以通过从
Copy Bundle Resources
文件夹中删除Runner.app
来解决此问题。然后执行
flutter clean
和flutter run
。