单元测试引入AFNetworking 同需要在 Podfile 引入:
platform :ios, '7.0' target 'MyDemoTests' do pod 'AFNetworking', '~> 2.5.0' end
否则无法引入。