-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename FlutterMacOS.framework to Flutter.framework #70413
Comments
IIRC the only reason we called it FlutterMacOS was because of concerns about having two different frameworks with the same filename being potentially very confusing (@chinmaygarde does that match your memory of our discussion?), so if we combine everything into a single xcframework there wouldn't be any reason to keep the different naming. (The title says "Flutter.framework" not "Flutter.xcframework"; is that a typo? I don't think we should do this separately from adopting xcframework.) Missing from the work list:
And then more importantly, a combination of Con and Work:
|
We have to keep all the
You're right, the
Good point, I forgot about this. flutter/packages/flutter_tools/templates/plugin/macos.tmpl/projectName.podspec.tmpl Line 17 in 856a90e
|
Actually that part may not need to change--the pod can be named something different than the vendored_framework. The more important part is to migrate any |
If it's just the imports, then it sounds like we could avoid a lot of the transition headache by re-exporting. So we would
The caveat is that I haven't verified that this works in practice, but if it does things get a lot easier :) |
That's exactly what I was thinking! We need to keep the two frameworks as you say because if the module name doesn't match the framework name on the file system, it won't be found (as I understand it). Meaning, we can't have Flutter just add a FlutterMacOS module. |
This issue is assigned to @vashworth but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks! |
Pros:
Cons:
The tool will no longer download macOS desktop engine artifacts separately. This will increase the artifact cache size for iOS developers who are not building macOS apps, and vice versa. This will not impact app size.
Work:
The text was updated successfully, but these errors were encountered: