Commit be9d7d6a authored by Samuel E. Giddins's avatar Samuel E. Giddins

[AggregateXCConfig] Set EMBEDDED_CONTENT_CONTAINS_SWIFT when using a Swift pod

parent 5a735580
...@@ -60,6 +60,9 @@ module Pod ...@@ -60,6 +60,9 @@ module Pod
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1', 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1',
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) ', 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) ',
} }
if pod_targets.any?(&:uses_swift?)
config['EMBEDDED_CONTENT_CONTAINS_SWIFT'] = 'YES'
end
@xcconfig = Xcodeproj::Config.new(config) @xcconfig = Xcodeproj::Config.new(config)
@xcconfig.merge!(merged_user_target_xcconfigs) @xcconfig.merge!(merged_user_target_xcconfigs)
......
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