-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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.
tensafefrogs, giraldeau, xster, alibitek and nyveliusBenSower, mikemimik and alibitek
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.