title: Facebook Cocoapods integration
body: <p>I am integrating 3rd party libraries into my project using cocoapods. Everything was working smoothly but when i try to integrate facebook ios sdk I encounter a very strange issue, my pods project has the following warning:</p>
  <p><img src="https://i.stack.imgur.com/3oaEv.png" alt="Validate Project settings" /></p>
  <p>If i click on it i get the following dialog:</p>
  <p><img src="https://i.stack.imgur.com/HpaD6.png" alt="Remove Duplicates Dialog" /></p>
  <p>I checked the Headers in the build phases part of the target &quot;Pods-Facebook-iOS-SDK&quot;. Every header file is repeating:</p>
  <p><img src="https://i.stack.imgur.com/N1wiB.png" alt="Repeating headers" /></p>
  <p>When i try to build my project it fails because it is not able to find &quot;FacebookSDK/FacebookSDK.h&quot;.</p>
  <p>My last option is to just integrate facebook sdk manually and not use cocoapods for it but I dont want to take that route and for the life of me I cannot understand what I am doing wrong. For refrence following is my pod file:</p>
  <blockquote>
  <p>platform :ios, '7.0'</p>
  <p>pod 'DTCoreText'</p>
  <p>pod 'UIView+AnimationExtensions'</p>
  <p>pod 'EZAudio'</p>
  <p>pod 'MZTimerLabel'</p>
  <p>pod 'AWSAutoScaling'</p>
  <p>pod 'AWSCloudWatch'</p>
  <p>pod 'AWSCore'</p>
  <p>pod 'AWSDynamoDB'</p>
  <p>pod 'AWSEC2'</p>
  <p>pod 'AWSElasticLoadBalancing'</p>
  <p>pod 'AWSKinesis'</p>
  <p>pod 'AWSS3'</p>
  <p>pod 'AWSSES'</p>
  <p>pod 'AWSSNS'</p>
  <p>pod 'AWSSQS'</p>
  <p>pod 'AWSSimpleDB'</p>
  <p>pod 'Facebook-iOS-SDK'</p>
  </blockquote>
  <p>Following is the information regarding my developement environment:</p>
  <p>XCode: 6.1</p>
  <p>Architectures: armv7, arm64</p>
  <p>Base SDK: iOS 8.1</p>