首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >iOS Podfile与来自ADOverlayContainer的OverlayContainer的问题

iOS Podfile与来自ADOverlayContainer的OverlayContainer的问题
EN

Stack Overflow用户
提问于 2019-01-04 03:25:38
回答 1查看 139关注 0票数 0

我试图通过Pods加载以下github存储库:

https://github.com/applidium/ADOverlayContainer

代码语言:javascript
复制
$ pod install
Analyzing dependencies
[!] Unable to find a specification for `OverlayContainer`

也尝试了'ADOverlayContainer‘。

在podfile中,请注意另外两个吊舱的工作:

代码语言:javascript
复制
# Uncomment the next line to define a global platform for your project
platform :ios, '12.1'

target 'MyCoreData' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  pod 'SwiftCharts', '~> 0.6.3'
  pod 'SwiftGraph'
  pod 'OverlayContainer'

  # Pods for MyCoreData

  target 'MyCoreDataTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'MyCoreDataUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

似乎找不到指定的规范,作者没有联系人信息或问题选项卡。我能以某种方式确定正确的引用吗?github上的Podfile似乎是相同的引用。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-01-04 06:24:25

我试过在一个示例项目中使用您的podfile。看上去不错。我成功地安装了OverlayContainer。您也可以在一个新的示例项目中尝试podfile,如果它也不起作用,那么问题应该在您的本地pod设置中。

有多种方法可以解决这个问题。

  1. 运行pod setup (这可能需要时间)。
  2. 更新你的Cocoapod的东西(宝石?)露比?和诸如此类的。
  3. 您还可以尝试在podfile中添加source 'https://github.com/CocoaPods/Specs.git'

我希望这能帮到你。

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

https://stackoverflow.com/questions/54032755

复制
相关文章

相似问题

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