我正在制作一个Flutter插件,它必须支持macOS。然而,当我想创建一个插件并在示例应用程序中运行该插件(即使我没有编辑Flutter生成的代码),Xcode会抛出以下错误。
无法加载文件列表的内容:'/Users/admin/../example/macos/ephemeral/FlutterInputs.xcfilelist'
无法加载文件列表的内容:'/Users/admin/../example/macos/ephemeral/FlutterOutputs.xcfilelist'
这是我的Flutter医生:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.21.0-9.0.pre, on Mac OS X 10.15.3 19D76, locale
nl-NL)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.48.0)
[✓] Connected device (3 available)
• No issues found!