Skip to content

Commit

Permalink
[GL][merge leavez#142]
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostlordstar committed Jul 13, 2021
1 parent 85aa760 commit 6c6b387
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/cocoapods-binary/Integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,16 @@ def mirror_with_symlink(source, basefolder, target_folder)
path_objects = hash[name]
if path_objects != nil
path_objects.each do |object|
make_link(object.real_file_path, object.target_file_path)
# make_link(object.real_file_path, object.target_file_path)
# https://github.com/leavez/cocoapods-binary/pull/142
target_file_path = object.target_file_path
real_file_path = object.real_file_path
case File.extname(real_file_path)
when '.xib'
real_file_path = real_file_path.sub_ext(".nib")
target_file_path = target_file_path.sub(".xib", ".nib")
end
make_link(real_file_path, target_file_path)
end
end
end # of for each
Expand Down

0 comments on commit 6c6b387

Please sign in to comment.