Cocoapods can't find header xcode 6
You might also want to link your pods with both your targets like so:
platform :osx, '10.7'link_with 'MyApp', 'MyApp Tests'pod 'AFNetworking', '~> 1.0'pod 'Objection', '0.9'
From Cocoapods docs and this answer
Update: This no longer works for Cocoapods 1.0+, the correct way to implement the Podfile is:
platform :ios, '9.0'inhibit_all_warnings!target 'MyApp' do pod 'ObjectiveSugar', '~> 0.5' target "MyAppTests" do inherit! :search_paths pod 'OCMock', '~> 2.0.1' endend
Source: https://guides.cocoapods.org/syntax/podfile.html#podfile