title: Add custom path to HEADER_SEARCH_PATHS using CocoaPods post install hook
body: <p>I am trying to add $(PLATFORM_DIR)/Developer/Library/Frameworks path to Specta target Header search paths using post install hook. This obviously is not vital, but it really annoys me to added this path manually each time I do "pod update".</p>
  
  <p>I got to the following script:</p>
  
  <pre><code>post_install do |installer_representation|
    installer_representation.project.targets.each do |target|
        if target.name == 'Specta'
            target.build_configurations.each do |config|
               headers = config.build_settings['HEADER_SEARCH_PATHS']
               if headers
                   config.build_settings['HEADER_SEARCH_PATHS'] += ' $(PLATFORM_DIR)/Developer/Library/Frameworks'
               end
            end
        end
    end
  end
  </code></pre>
  
  <p>I would be really happy if someone could point me to the right direction, because I am really stuck.</p>
  
  <p>P.S. I already noticed that this path is already added by CocoaPods, but still I am highly interested in how this can be done, since this knowledge can be useful later. Thanks!</p>