mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
Make FlutterPluginRegistrant a static framework so add-to-app can use plugins with static frameworks (#40401)
This commit is contained in:
parent
09bb07f8dd
commit
ba13aa943c
|
@ -383,6 +383,7 @@ Depends on all your plugins, and provides a function to register them.
|
|||
s.source_files = "Classes", "Classes/**/*.{h,m}"
|
||||
s.source = { :path => '.' }
|
||||
s.public_header_files = './Classes/**/*.h'
|
||||
s.static_framework = true
|
||||
s.dependency '{{framework}}'
|
||||
{{#plugins}}
|
||||
s.dependency '{{name}}'
|
||||
|
|
Loading…
Reference in a new issue