首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Runner.app/Runner.app/..。无限循环Xcode构建失败

Runner.app/Runner.app/..。无限循环Xcode构建失败
EN

Stack Overflow用户
提问于 2020-11-01 19:40:07
回答 1查看 914关注 0票数 3

当我试图构建我的应用程序时,我在控制台中得到了以下错误:

代码语言:javascript
复制
Xcode build done.                                           114,3s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    error: '/Users/paul/AndroidStudioProjects/Chronopsi/build/ios/Debug-iphoneos/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/Runner.app/Runner.app/Runner.app/Runner.app' is longer than filepath buffer size (1025). (in target 'Runner' from project 'Runner')
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the precompiled application for the device.

我用的是Xcode 11.3.1

我有最新版本的颤音。

我试着构建另一个我几个月前已经构建的旧应用程序,它运行得很好。

编辑:我试图将构建更改为旧版本,但是我得到了相同的错误,它仍然是“注意:使用新的构建系统”,而在我的日志中,它说的是“检测到的遗留构建系统”。

代码语言:javascript
复制
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Legacy build system detected, removing /Users/paul/AndroidStudioProjects/Chronopsi/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
Running pod install...
Running Xcode build...
Xcode build done.                                           57,2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    error: '/Users/paul/AndroidStudioProjects/Chronopsi/build/ios/Debug-iphonesimulator/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/Runner.app/Runner.app/Runner.app/Runner' is longer than filepath buffer size (1025). (in target 'Runner' from project 'Runner')
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-11-06 10:27:11

检查您的Xcode: Targets、->构建阶段、->复制捆绑资源。

如果Runner在列表中,请删除它并执行flutter clean

票数 8
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64636212

复制
相关文章

相似问题

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