Commit 212c7e29 authored by Joshua Weinberg's avatar Joshua Weinberg Committed by Eloy Duran

Add each project to the header search paths. This will allow for both styles of…

Add each project to the header search paths. This will allow for both styles of includes. Need to figure out about maintaing directory structure though
parent 81c54f30
...@@ -36,7 +36,7 @@ module Pod ...@@ -36,7 +36,7 @@ module Pod
@xcconfig ||= Xcode::Config.new({ @xcconfig ||= Xcode::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
# We could also make this recursive, but let's let the user decide on that. # We could also make this recursive, but let's let the user decide on that.
'USER_HEADER_SEARCH_PATHS' => '$(BUILT_PRODUCTS_DIR)/Pods', 'USER_HEADER_SEARCH_PATHS' => '"$(BUILT_PRODUCTS_DIR)/Pods"',
# search the user headers # search the user headers
'ALWAYS_SEARCH_USER_PATHS' => 'YES', 'ALWAYS_SEARCH_USER_PATHS' => 'YES',
}) })
...@@ -55,6 +55,7 @@ module Pod ...@@ -55,6 +55,7 @@ module Pod
end end
build_specification_sets.each do |set| build_specification_sets.each do |set|
xcconfig << set.specification.xcconfig xcconfig << set.specification.xcconfig
xcconfig << {'USER_HEADER_SEARCH_PATHS' => "\"$(BUILT_PRODCUTS_DIR)/Pods/#{set.specification.name}\""}
end end
end end
......
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