Because CocoaPods 0.36 are availbable to anyone and they are now coming with Swift and Frameworks support I have one question that is bothering me today...
I create Podfile in my project directory, fill it with:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'AFNetworking'
pod 'SwiftyJSON'
And run pod install as usual... You know this story. But when I open my .xcworkspace and go to any ViewController and import SwiftyJSON it just works but when I try to do the same thing with AFNetworking I get No such module 'AFNetworking'. Of course, I can create a Bridging-Header and import it with the Objective-C way but when I read this blog post I can see:
To use this subspec in Swift, without a generated umbrella header, you would need to create a bridging header and use an import like
#import <AFNetworking/AFNetworking+UIKit.h. With the generated umbrella header, you just need toimport AFNetworking, if you have the subspec included in your Podfile.
Correct me if I'm wrong but I suppose that manual Bridging-Header is no longer needed if we add libraries with CocoaPods, right? So, why this isn't working?
 
    