-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Implement flutter build macos-framework command to create XCFrameworks for the compiled dart code App.xcframework, the FlutterMacOS.xcframework engine, and each plugin, to then be embedded into a host app via add-to-app.
See iOS analog flutter build ios-framework.
- Implement command to be run in normal macOS apps (non-modules)
a. Resurrect_produceXCFrameworkFromUniversallogic from Methods in build_ios_framework for universal and XCFrameworks #69736 since FlutterMacOS.framework is not published as an XCFramework - Add macOS version of
build_ios_framework_module_test - Add macOS docs like https://docs.flutter.dev/development/add-to-app/ios/project-setup and https://docs.flutter.dev/development/add-to-app/ios/add-flutter-screen
- Add to samples
Note: to completely support macOS add-to-app we would need to create a module template, and allow it to be embedded in the host app via CocoaPods #80339. However, flutter build ios-framework works in a normal Flutter app without using a Flutter module #70647. Start by supporting the minimum, and extracting the frameworks from a normal macOS Flutter app.
dubik
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.