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