Podspec fails to pass validation, but no ERROR logged
Recently I had this problem and adding --allow-warnings
fixes the issue.
pod spec lint MyProject.podspec --allow-warnings
Ok. Got my answer from the Cocoapods guys. Podspec validation fails on all errors and warnings. Failing on warnings doesn't mean the project fails as a Pod. Turns out I can simply ignore the warning.
As for AFNetworking, the issue has been resolved with version 2.0.