Here is my podfile I use in the project:
source \'https://github.com/CocoaPods/Specs.git\' platform :ios, \'9.0\' use_frameworks! pod \'AFNetworking\', \'~&
$ pod update
in terminal type this command, call update all pod to new version