首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何修复“吊舱更新”卡在私人吊舱上的问题?

如何修复“吊舱更新”卡在私人吊舱上的问题?
EN

Stack Overflow用户
提问于 2014-09-27 08:20:37
回答 3查看 3.1K关注 0票数 1

当我尝试运行‘private’时,执行挂在我的私有库的下载上:

代码语言:javascript
复制
Update all pods
Analyzing dependencies
Pre-downloading: `Obfuscated-Library` from `https://obfuscated.unfuddle.com/git/obfuscated_mvl/`, branch `develop`

我让它挂了大约10分钟,然后Ctrl-C取消了它。

到底是怎么回事?

这是关于我私人舱的一些信息

私人图书馆.podspec

代码语言:javascript
复制
#
# 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

专用图书馆

代码语言:javascript
复制
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

代码语言:javascript
复制
source 'https://github.com/CocoaPods/Specs.git'

xcodeproj ‘WL.xcodeproj'

pod ‘Obfuscated-Library', :git => "https://obfuscated.unfuddle.com/git/obfuscated_mvl/", :branch => "develop"
EN

回答 3

Stack Overflow用户

发布于 2015-07-22 18:44:44

我通过将Podfile更改为使用ssh身份验证git url来修复这个问题,如下所示:

pod 'Obfuscated-Library', :git => "git@obfuscated.unfuddle.com:obfuscated/mvl.git", :branch => "develop"

我不知道为什么http方法不能工作。

票数 2
EN

Stack Overflow用户

发布于 2015-01-23 21:08:06

尝试将回购URL更改为以git://开头的URL。

对同一/类似问题的讨论上的CocoaPods项目中找到。这个问题似乎是一个与Github的回购有关的问题。

票数 1
EN

Stack Overflow用户

发布于 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

链接:专用Pod更新/安装卡在预下载:“从”步骤

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26072765

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档