Commit b37f2f9a authored by Samuel Giddins's avatar Samuel Giddins

[PodTargetInstaller] Allow tests specs for a swift pod to not include swift

parent c109b144
...@@ -495,6 +495,10 @@ module Pod ...@@ -495,6 +495,10 @@ module Pod
return unless target.all_dependent_targets.any?(&:uses_swift?) return unless target.all_dependent_targets.any?(&:uses_swift?)
ldflags = test_target_bc.build_settings['OTHER_LDFLAGS'] ||= '$(inherited)' ldflags = test_target_bc.build_settings['OTHER_LDFLAGS'] ||= '$(inherited)'
ldflags << ' -lswiftSwiftOnoneSupport' ldflags << ' -lswiftSwiftOnoneSupport'
unless target.uses_swift?
library_search_paths = test_target_bc.build_settings['LIBRARY_SEARCH_PATHS'] ||= '$(inherited)'
library_search_paths << ' -lswiftSwiftOnoneSupport'
end
end end
# Creates a build phase which links the versioned header folders # Creates a build phase which links the versioned header folders
......
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