繁体   English   中英

CocoaPods Pod安装奇怪的行为

[英]CocoaPods Pod install weird behavior

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

在此处输入图片说明

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,则需要为吊舱定义一个目标

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM