Skip to content

Commit

Permalink
Merge pull request #4569 from CocoaPods/seg-validator-dont-assume-nat…
Browse files Browse the repository at this point in the history
…ive-target

[Validator] Dont assume every pod target has a native target
  • Loading branch information
segiddins committed Nov 30, 2015
2 parents fde6f4a + 2c623fb commit 61b3669
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cocoapods/validator.rb
Expand Up @@ -431,7 +431,8 @@ def install_pod
deployment_target = spec.subspec_by_name(subspec_name).deployment_target(consumer.platform_name)
@installer.aggregate_targets.each do |target|
target.pod_targets.each do |pod_target|
pod_target.native_target.build_configuration_list.build_configurations.each do |build_configuration|
next unless native_target = pod_target.native_target
native_target.build_configuration_list.build_configurations.each do |build_configuration|
(build_configuration.build_settings['OTHER_CFLAGS'] ||= '$(inherited)') << ' -Wincomplete-umbrella'
end
end
Expand Down

0 comments on commit 61b3669

Please sign in to comment.