Commit 2dd621d1 authored by Samuel Giddins's avatar Samuel Giddins

[Installer] Also set APPLICATION_EXTENSION_API_ONLY when the user target has it set

parent 669f7a5a
...@@ -642,6 +642,7 @@ module Pod ...@@ -642,6 +642,7 @@ module Pod
aggregate_targets.each do |aggregate_target| aggregate_targets.each do |aggregate_target|
is_app_extension = !(aggregate_target.user_targets.map(&:symbol_type) & is_app_extension = !(aggregate_target.user_targets.map(&:symbol_type) &
[:app_extension, :watch_extension, :watch2_extension]).empty? [:app_extension, :watch_extension, :watch2_extension]).empty?
is_app_extension ||= aggregate_target.user_targets.any? { |ut| ut.common_resolved_build_setting('APPLICATION_EXTENSION_API_ONLY') == 'YES' }
aggregate_target.pod_targets.each do |pod_target| aggregate_target.pod_targets.each do |pod_target|
configure_app_extension_api_only_for_target(aggregate_target) if is_app_extension configure_app_extension_api_only_for_target(aggregate_target) if is_app_extension
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment