title: CocoaPods Error pod install HEADER_SEARCH_PATHS
body: <p>First foray into CocoaPods (and I'm not very happy with it!). I followed all of the instructions. When I do <code>pod install</code> this is what i get:</p>
  
  <blockquote>
    <p>Analyzing dependencies<br>
    Downloading dependencies <br>Using AFNetworking (2.4.1) <br>Using Braintree
    (3.4.0) <br>Generating Pods project Integrating client project</p>
    
    <p>[!] The <code>MyProject [Debug]</code> target overrides the
    <code>HEADER_SEARCH_PATHS</code> build setting defined in <code>Pods/Target Support
    Files/Pods-MyProject/Pods-MyProject.debug.xcconfig'. This can lead
    to problems with the CocoaPods installation
        - Use the</code>$(inherited)` flag, or<br>
        - Remove the build settings from the target.</p>
    
    <p>[!] The <code>MyProject [Debug]</code> target overrides the <code>OTHER_LDFLAGS</code>
    build setting defined in <code>Pods/Target Support
    Files/Pods-MyProject/Pods-MyProject.debug.xcconfig'. This can lead
    to problems with the CocoaPods installation
        - Use the</code>$(inherited)` flag, or<br>
        - Remove the build settings from the target.</p>
    
    <p>[!] The <code>MyProject [Release]</code> target overrides the
    <code>HEADER_SEARCH_PATHS</code> build setting defined in <code>Pods/Target Support
    Files/Pods-MyProject/Pods-MyProject.release.xcconfig'. This can lead
    to problems with the CocoaPods installation
        - Use the</code>$(inherited)` flag, or<br>
        - Remove the build settings from the target.</p>
    
    <p>[!] The <code>MyProject [Release]</code> target overrides the <code>OTHER_LDFLAGS</code>
    build setting defined in <code>Pods/Target Support
    Files/Pods-MyProject/Pods-MyProject.release.xcconfig'. This can lead
    to problems with the CocoaPods installation
        - Use the</code>$(inherited)` flag, or<br>
        - Remove the build settings from the target.</p>
  </blockquote>
  
  <p>Here is my Podfile:</p>
  
  <blockquote>
    <p>source '<a href="https://github.com/CocoaPods/Specs.git" rel="noreferrer">https://github.com/CocoaPods/Specs.git</a>'</p>
    
    <p>target 'ActivFocus' do<br>
            pod 'Braintree' # Alternatively: pod 'Braintree', '~> 3.0.0'<br>
            pod "AFNetworking", "~> 2.0" <br>end<br>
    <br>
    target 'ActivFocusTests' do<br>
            pod 'Braintree' # Alternatively: pod 'Braintree', '~> 3.0.0'<br>
            pod "AFNetworking", "~> 2.0" <br>end<br></p>
  </blockquote>
  
  <p>I don't know how to follow the suggestion:</p>
  
  <blockquote>
  <pre><code>- Use the '$(inherited)' flag, or
  - Remove the build settings from the target.
  </code></pre>
  </blockquote>
  
  <p>EDIT: This is the Xcode error that I get when trying to build the project as a result of this:</p>
  
  <blockquote>
    <p>Ld
    /Users/randy/Library/Developer/Xcode/DerivedData/MyProject-epuhpnvywesozcamslrdbksivzae/Build/Products/Debug-iphonesimulator/MyProject.app/MyProject
    normal i386
        cd /Users/randy/Development/MyProject/iOSApp/MyProject
        export IPHONEOS_DEPLOYMENT_TARGET=7.1
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
    -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
    -L/Users/randy/Library/Developer/Xcode/DerivedData/MyProject-epuhpnvywesozcamslrdbksivzae/Build/Products/Debug-iphonesimulator
    -L/Users/randy/Development/MyProject/iOSApp/MyProject/Pods/Braintree/Braintree/PayPal/mSDK
    -L/Users/randy/Development/MyProject/iOSApp/MyProject -L/Users/randy/Development/MyProject/iOSApp/MyProject/MyProject/libs/ios_libs/simplify/vendor/ocmock
    -F/Users/randy/Library/Developer/Xcode/DerivedData/MyProject-epuhpnvywesozcamslrdbksivzae/Build/Products/Debug-iphonesimulator
    -F/Users/randy/Development/MyProject/iOSApp/MyProject/MyProject/libs/ios_libs/simplify
    -F/Users/randy/Development/MyProject/iOSApp/MyProject/MyProject -F/Users/randy/Development/MyProject/iOSApp/MyProject -filelist /Users/randy/Library/Developer/Xcode/DerivedData/MyProject-epuhpnvywesozcamslrdbksivzae/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/i386/MyProject.LinkFileList
    -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework AVFoundation -framework CoreData -framework QuartzCore -framework MediaPlayer -framework
    CoreGraphics -framework UIKit -framework Foundation -lPods-MyProject
    -Xlinker -dependency_info -Xlinker /Users/randy/Library/Developer/Xcode/DerivedData/MyProject-epuhpnvywesozcamslrdbksivzae/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/i386/MyProject_dependency_info.dat
    -o /Users/randy/Library/Developer/Xcode/DerivedData/MyProject-epuhpnvywesozcamslrdbksivzae/Build/Products/Debug-iphonesimulator/MyProject.app/MyProject</p>
    
    <p>ld: library not found for -lPods-ActivFocus clang: error: linker<br>
    command failed with exit code 1 (use -v to see invocation)</p>
  </blockquote>