我试图通过Pods加载以下github存储库:
https://github.com/applidium/ADOverlayContainer
$ pod install
Analyzing dependencies
[!] Unable to find a specification for `OverlayContainer`也尝试了'ADOverlayContainer‘。
在podfile中,请注意另外两个吊舱的工作:
# 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似乎是相同的引用。
发布于 2019-01-04 06:24:25
我试过在一个示例项目中使用您的podfile。看上去不错。我成功地安装了OverlayContainer。您也可以在一个新的示例项目中尝试podfile,如果它也不起作用,那么问题应该在您的本地pod设置中。
有多种方法可以解决这个问题。
pod setup (这可能需要时间)。source 'https://github.com/CocoaPods/Specs.git'。我希望这能帮到你。
https://stackoverflow.com/questions/54032755
复制相似问题