Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix path to compiled xib file #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
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