当我尝试运行“pod update'”时,执行会在我的私人库下载时挂起:
Update all pods
Analyzing dependencies
Pre-downloading: `Obfuscated-Library` from `https://obfuscated.unfuddle.com/git/obfuscated_mvl/`, branch `develop`
在Ctrl-C
取消它之前,我已经让它挂了大约10分钟。
到底是怎么回事?
以下是有关我的私人广告连播的一些信息
私人图书馆.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
私人图书馆Podfile
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"
答案 0 :(得分:2)
我通过更改Podfile以使用ssh身份验证git url来修复此问题:
pod 'Obfuscated-Library', :git => "git@obfuscated.unfuddle.com:obfuscated/mvl.git", :branch => "develop"
我不确定为什么http方法不起作用。
答案 1 :(得分:1)
尝试将repo网址更改为以git://
开头的网址。
在Github上的CocoaPods项目的a discussion of the same/similar issue中找到。该问题似乎是Github Enterprise上的回购问题。
答案 2 :(得分:0)
有时,在处理大型项目时,无法修改HTTPS与SSH设置(防火墙,公共访问和私有访问)。和其他步骤,如删除本地pods&amp;派生数据不起作用。
您可以反复核对const bingArray = [
"No sign probes into Russia, Trump campaign will die down",
"Russian Hackers Who Targeted Clinton Appear to Attack France’s Macron",
"Senate Russia investigation to add 2 staffers",
"Former Trump adviser Flynn likely broke law with Russia trip: lawmakers",
'Big meeting in Moscow tomorrow',
'Russia has U.S. ambassy closed',
'Did Putin influence the United States elections?',
];
const event = [["United States", "U.S.", "US", "America"],
["Russia", "Russian", "Putin", "Moscow"]];
const matches = bingArray.filter(
article => event.every(
words => words.find(
word => article.includes(word)
)
)
);
console.log('articles mentioning all listed countries:');
console.log(matches);
。通过以下命令删除pod缓存,然后重新尝试pod --version
。
pod install
链接:Private Pod update/install stuck at Pre-downloading: "" from "" step