CocoaPods with XCode 6.0.1 - How can I fix Pods Frameworks appearing in red? CocoaPods with XCode 6.0.1 - How can I fix Pods Frameworks appearing in red? ios ios

CocoaPods with XCode 6.0.1 - How can I fix Pods Frameworks appearing in red?


I had the same strange problem, where the libraries where correctly recognized on one machine, but not on another - there they were also in red.

The solution was to add the Pods target to the building scheme ("Product > Scheme > Edit Scheme..." then add with + the Pods main target and put it in front of your main target.) Then clean and build the project.


This is normal, since these frameworks don't exist in the pod's project path. As I see in tmpios->Frameworks doesn't appear in any of the frameworks that are supposed to exist.Choose your project,then Target->tmpios->Build Phases->Link Binary With Libraries and there add the frameworks you need.

If still you have a compile error and doesn't find libraries of pods then write your pod file in that way:

source 'https://github.com/CocoaPods/Specs'link_with  ['tmpios', 'tmpiosTests']platform :ios, '8.0'pod 'AFNetworking', '~> 2.0'

Install pods, and at your project Target->tmpios->Build Setting->Other Linker Flags, add $(inherited).


Just delete all configs in the the Pods Group in xcode and run pod install again. This will regenerate the xcconfigs files. Then make sure they are set properly in the Project > Info > Configurations