1

我有一个可以在 iPhone 模拟器和 Chrome 上完美运行的应用程序。但是,当我尝试将其作为本机 macOS 应用程序运行时,它会因以下错误转储而失败。我试过跑步flutter clean,但没有运气。任何人都可以帮我吗?如果我可以共享任何可以帮助调试此问题的文件,请告诉我。

% flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:x86_64, id:XYZ-ABC }
{ platform:macOS, name:Any Mac }
Building macOS application...                                           
Unable to find app name. /location/myApp/macos/Flutter/ephemeral/.app_file
name does not exist
Unable to find executable to run
Error launching application on macOS.
4

0 回答 0