当我尝试运行‘private’时,执行挂在我的私有库的下载上:
Update all pods
Analyzing dependencies
Pre-downloading: `Obfuscated-Library` from `https://obfuscated.unfuddle.com/git/obfuscated_mvl/`, branch `develop`我让它挂了大约10分钟,然后Ctrl-C取消了它。
到底是怎么回事?
这是关于我私人舱的一些信息
私人图书馆.podspec
#
# Be sure to run `pod spec lint Obfuscated-Library.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# To learn more about the attributes see http://docs.cocoapods.org/specification.html
#
Pod::Spec.new do |s|
s.name = "Obfuscated-Library"
s.version = "0.3.1"
s.summary = "A common library for Obfuscated."
s.description = <<-DESC
A source for common features found in Obfuscated apps.
DESC
s.license = {
:type => 'Copyright',
:text => <<-LICENSE
Copyright (c) 2013 Obfuscated, Inc. All rights reserved.
LICENSE
}
s.author = { “Some Guy” => “someguy@gmail.com" }
s.source = { :git => "https://obfuscated.unfuddle.com/git/obfuscated_OBl/", :tag => "0.3.1" }
s.platform = :ios, '6.0'
s.source_files = 'OBLibrary/**/*.{h,m}'
s.resources = ['OBLibrary/**/*.{xib,png,json,ttf}', 'OBLibrary.xcdatamodeld']
s.ios.resource_bundle = { 'OBCoreData' => 'OBCoreData' }
s.dependency 'JASidePanels', '~> 1.3.2'
s.dependency 'iCarousel', '~> 1.7.6'
s.dependency 'KGModal', '~> 0.0.1'
s.dependency 'SDWebImage', '~> 3.7.1'
s.dependency 'HockeySDK', '~> 3.5'
s.dependency 'KDropDownMultipleSelection', '~> 1.0.1'
s.dependency 'SVPullToRefresh', '~> 0.4.1'
s.dependency 'FXKeychain', '~> 1.5'
s.dependency 'PMCalendar', '~> 0.3'
s.dependency 'RSBarcodes', '~> 0.0.5'
s.dependency 'IQKeyboardManager', '~> 3.1.1'
s.frameworks = 'Foundation', 'UIKit', 'QuartzCore', 'CoreLocation', 'MapKit', 'CoreGraphics', 'CoreText'
s.ios.vendored_frameworks = 'Pods/HockeySDK/Vendor/CrashReporter.framework'
s.requires_arc = true
s.homepage = "http://www.Obfuscated.com"
end专用图书馆
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, "6.0"
xcodeproj 'OBLibrary.xcodeproj'
pod 'JASidePanels', '~> 1.3.2'
pod 'iCarousel', '~> 1.7.6'
pod 'KGModal', '~> 0.0.1'
pod 'SDWebImage', '~> 3.7.1'
pod 'HockeySDK', '~> 3.5'
pod 'KDropDownMultipleSelection', '~> 1.0.1'
pod 'SVPullToRefresh', '~> 0.4.1'
pod 'FXKeychain', '~> 1.5'
pod 'PMCalendar', '~> 0.3'
pod 'RSBarcodes', '~> 0.0.5'
pod 'IQKeyboardManager', '~> 3.1.1'客户端应用程序Podfile
source 'https://github.com/CocoaPods/Specs.git'
xcodeproj ‘WL.xcodeproj'
pod ‘Obfuscated-Library', :git => "https://obfuscated.unfuddle.com/git/obfuscated_mvl/", :branch => "develop"发布于 2015-07-22 18:44:44
我通过将Podfile更改为使用ssh身份验证git url来修复这个问题,如下所示:
pod 'Obfuscated-Library', :git => "git@obfuscated.unfuddle.com:obfuscated/mvl.git", :branch => "develop"
我不知道为什么http方法不能工作。
发布于 2015-01-23 21:08:06
尝试将回购URL更改为以git://开头的URL。
在对同一/类似问题的讨论上的CocoaPods项目中找到。这个问题似乎是一个与Github的回购有关的问题。
发布于 2017-04-25 21:22:25
有时,在处理大型项目时,修改HTTPS和SSH设置是不可能的(防火墙、公共访问和私有访问)。其他步骤,如删除本地荚和派生数据,则不起作用。
你可以交叉检查pod --version.通过以下命令删除pod缓存,然后重新尝试pod install。
rm -rf "${HOME}/Library/Caches/CocoaPods" rm -rf "`pwd`/Pods/" bundle exec pod install
https://stackoverflow.com/questions/26072765
复制相似问题