CocoaPods Pod 安装奇怪的行为

CocoaPods Pod install weird behavior

我目前正尝试在我的 Xcode 项目中安装这些 Pods,但是当我尝试 pod install 时出现以下屏幕。我在尝试 运行 我的项目时在 xCode 中收到此消息,所以我想我会尝试重新安装 pods。但是得到下面的错误。

platform :ios, ‘8.0’
use_frameworks!

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.1'
pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
pod 'Alamofire', '~> 3.0'
pod 'GooglePlacesAutocomplete'
pod 'Spring', :git => 'https://github.com/MengTo/Spring.git', :branch => 'swift2'
pod 'DropDown'
pod 'AlamofireImage', '~> 2.0'

当我 运行 pod install 我在终端屏幕上收到以下消息。

如果您使用的是 Cocoapods v0.39,您需要为您的 pods

定义一个目标
target :'nameOfTheScheme' do
  pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
  pod 'Alamofire', '~> 3.0'
  pod 'GooglePlacesAutocomplete'
  pod 'Spring', :git => 'https://github.com/MengTo/Spring.git', :branch => 'swift2'
  pod 'DropDown'
  pod 'AlamofireImage', '~> 2.0'
end