Skip to content

Commit

Permalink
link injected frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilushkanama committed Apr 21, 2020
1 parent b1f44fd commit 1b38dda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/injection/injector.rb
Original file line number Diff line number Diff line change
@@ -189,6 +189,10 @@ def add_as_prebuilt_framework(prebuilt_node, dependent_target)
build_flags_changer.add_framework_search_path(build_configuration, artifact_location)
build_flags_changer.add_framework_headers_iquote(build_configuration, artifact_location, prebuilt_node)

if dependency_remover.is_linked(prebuilt_node, dependent_target)
build_flags_changer.add_framework_linker_flag(build_configuration, prebuilt_node)
end

dependency_remover.remove_dependency(prebuilt_node, dependent_target)
end

0 comments on commit 1b38dda

Please sign in to comment.