代码可直接复制 target 'AppName' do pod 'AFNetworking', '~> 3.0' pod 'FBSDKCoreKit', '~> 4.9' end 修改AppName为你的项目名称