Skip to content

Commit

Permalink
Hack for Xcode 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Rabek committed Apr 16, 2015
1 parent cf1e67a commit 2f0bfc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xcodeproj/scheme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def construct_buildable_name(build_target)
#
def construct_referenced_container_uri(target)
project = target.project
relative_path = project.path.relative_path_from(project.path + project.root_object.project_dir_path).to_s
relative_path = project.path.relative_path_from(project.path + project.root_object.project_dir_path.sub("../", "../../")).to_s
relative_path = project.path.basename if relative_path == '.'
"container:#{relative_path}"
end
Expand Down

0 comments on commit 2f0bfc6

Please sign in to comment.