-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Instead of using a "Pre-action" bash script to copy the Flutter framework into the BUILT_PRODUCTS_DIR, we can symlink the Flutter framework and plugins within the same directory.
Then plugins can declare a dependency on Flutter via relative path. For example, a plugin's Package.swift would look something like:
dependencies: [
.package(name: "Flutter", path: "../Flutter"),
],By adding an actual dependency on Flutter, Xcode now handles the copying, thinning, and codesigning of the Flutter framework. The Flutter build script should validate that Xcode is handling it correct and intervene if not.
See flutter.dev/go/swift-package-manager-plugins-v3 for more details.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team