Commit 9c4baa84 authored by Fabio Pelosin's avatar Fabio Pelosin

[Pod:Command::Spec] lint checks for build errors

parent 88ce67b9
This diff is collapsed.
...@@ -64,7 +64,11 @@ module Pod ...@@ -64,7 +64,11 @@ module Pod
# Returns a path, which is relative to the project_root, relative to the # Returns a path, which is relative to the project_root, relative to the
# `$(SRCROOT)` of the user's project. # `$(SRCROOT)` of the user's project.
def relative_to_srcroot(path) def relative_to_srcroot(path)
if config.integrate_targets
(config.project_root + path).relative_path_from(xcodeproj.dirname) (config.project_root + path).relative_path_from(xcodeproj.dirname)
else
"Pods"
end
end end
def relative_pods_root def relative_pods_root
......
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