How to include AFNetworking as a Framework for using in an iOS App and Extension via CocoaPods
NB: This is related to this question on project structure, but I have decided to a vastly the use-case to better abstract the problem. Problem How do I include afnetworking in my iOS App and an accompanying iOS Extension ( ios8-extention , ios8-today-widget or ios8-share-extension ) via CocoaPods? Issues For use in Extensions, AFNetworking needs to be build with #define AF_APP_EXTENSIONS , does this mean I need 2 versions AFNetworking? One for the Extension and one for the App? How do I set up the Podfile so frameworks are built and copied to the correct places? Documentation on use_frameworks