【发布时间】:2020-01-18 17:03:18
【问题描述】:
我正在尝试从 VSCode 以调试模式运行我的应用程序。但是,每次,无论我是在模拟器还是真机上运行,调试控制台都会输出
Could not find the built application bundle at build/ios/iphonesimulator/Runner.app.
或
Could not find the built application bundle at build/ios/iphoneos/Runner.app.
当我进入指定目录时,我的应用程序包每次都在构建,但不是命名为 Runner.app,而是命名为 MyAppName.app。我怀疑名称的不同导致 VSCode 编译器无法找到 Runner.app。
我的问题:如何更改构建设置以使构建包再次命名为 Runner.app?
【问题讨论】:
-
嗨,我遇到了和你一样的问题,恢复到“Runner”是一种解决方法。但是您知道如何使
flutter run为新的应用程序名称 (MyAppName.app) 运行吗?
标签: ios xcode flutter visual-studio-code