For each build mode, the Flutter/FlutterMacOS framework should be copied from the engine artifact cache to the --output directory within the FlutterPluginRegistrant/[BuildMode]/Frameworks subdirectory.
├── FlutterPluginRegistrant
│ ├── Debug
│ │ ├── Frameworks
│ │ │ ├── Flutter.xcframework
For each build mode, the Flutter/FlutterMacOS framework should be copied from the engine artifact cache to the
--outputdirectory within theFlutterPluginRegistrant/[BuildMode]/Frameworkssubdirectory.