Commit ab3e75a6 authored by Dieter Komendera's avatar Dieter Komendera

Rename POD_SRCROOT to PODS_ROOT.

parent 4c27a975
...@@ -29,8 +29,8 @@ module Pod ...@@ -29,8 +29,8 @@ module Pod
def xcconfig def xcconfig
@xcconfig ||= Xcodeproj::Config.new({ @xcconfig ||= Xcodeproj::Config.new({
# In a workspace this is where the static library headers should be found. # In a workspace this is where the static library headers should be found.
'POD_SRCROOT' => '$(SRCROOT)/Pods', 'PODS_ROOT' => '$(SRCROOT)/Pods',
'HEADER_SEARCH_PATHS' => '"$(POD_SRCROOT)/Headers"', 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/Headers"',
'ALWAYS_SEARCH_USER_PATHS' => 'YES', 'ALWAYS_SEARCH_USER_PATHS' => 'YES',
# This makes categories from static libraries work, which many libraries # This makes categories from static libraries work, which many libraries
# require, so we add these by default. # require, so we add these by default.
...@@ -132,7 +132,7 @@ module Pod ...@@ -132,7 +132,7 @@ module Pod
config.baseConfiguration = xcconfig_file config.baseConfiguration = xcconfig_file
config.buildSettings['OTHER_LDFLAGS'] = '' config.buildSettings['OTHER_LDFLAGS'] = ''
config.buildSettings['GCC_PREFIX_HEADER'] = prefix_header_filename config.buildSettings['GCC_PREFIX_HEADER'] = prefix_header_filename
config.buildSettings['POD_SRCROOT'] = '$(SRCROOT)' config.buildSettings['PODS_ROOT'] = '$(SRCROOT)'
end end
end end
......
...@@ -296,7 +296,7 @@ module Pod ...@@ -296,7 +296,7 @@ module Pod
# methods. # methods.
def header_search_paths def header_search_paths
dirs = [header_dir] + copy_header_mappings.keys dirs = [header_dir] + copy_header_mappings.keys
dirs.map { |dir| %{"$(POD_SRCROOT)/Headers/#{dir}"} } dirs.map { |dir| %{"$(PODS_ROOT)/Headers/#{dir}"} }
end end
def to_s def to_s
......
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