-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
p: toolingAffects the flutter_plugin_tools packageAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Milestone
Description
In #9694 we commented out use_frameworks! in the new project template.
I would like to bring it back so that Swift plugins will be supported.
The problem is CocoaPods/CocoaPods#3289 - plugins that have third-party dependencies (e.g. Google Sign In) don't work properly and get errors of this form:
[!] The 'Pods' target has transitive dependencies that include static binaries
use_frameworks! will happily coexist with static transitive dependencies if you override the static framework verification:
pre_install do |installer|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
def installer.verify_no_static_framework_transitive_dependencies; end
end
However, the header files don't get copied into the right place.
I think we need to understand this further and see if we can get the header to be right.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p: toolingAffects the flutter_plugin_tools packageAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.