ios - CocoaPods - 无法找到规范

标签 ios swift cocoapods

我的 Podfile 看起来像这样:

    source 'https://github.com/CocoaPods/Specs.git'
--source= 'git@bitbucket.org:appstrakt/apps-tool-libraries-appletech-specs-private.git'
--source= 'git@bitbucket.org:appstrakt/apps-tool-libraries-appletech-specs-test.git'

target 'Test' do
platform :ios, '8.0'
use_frameworks!

# Fabric
pod 'Fabric'
pod 'Crashlytics'

# Appstrakt Pods
pod 'NovemberFiveApplication-iOS', '~> 2.0'
pod 'Dye', '~> 2.0'
pod 'APGoogleAnalytics', '~> 2.0'
pod 'APCrashlyticsAnalytics', '~> 2.0'
pod 'APLoggerServiceBasic', '~> 2.0'

# Dexter
pod 'Dexter', '~> 0.0.1'
pod 'DEXHTTPMonitorModule', '~> 0.0.1'

# 3rd Party Pods
pod 'JVFloatLabeledTextField', '~> 1.1'
pod 'Lockbox', '~> 1.4'
pod 'UICollectionViewLeftAlignedLayout'

pod 'Reveal-SDK'

end

post_install do |installer_representation|
    installer_representation.pods_project.targets.each do |target|

当我运行“pod install”时,出现错误:

Analyzing dependencies [!] Unable to find a specification for NovemberFiveApplication-iOS (~> 2.0)

You have either: * out-of-date source repos which you can update with pod repo update or with pod install --repo-update. * mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile.

最佳答案

NovemberFiveApplication-iOS 不是公共(public) CocoaPod。要安装它,您需要添加存储库:https://guides.cocoapods.org/making/private-cocoapods.html

十一五似乎是一个企业,没有开源代码库。要使用他们的 SDK,您需要从他们那里获取 repo。

关于ios - CocoaPods - 无法找到规范,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58447024/

相关文章:

ios - 从 Swift 中的 View 子类加载 xib

IOS - 核心数据栈

ios - Swift:Apple Mach-O 链接器 (id) 错误 - Xcode 8.3

ios - 在 Swift 5 中使用可达性

ios - 找出最后触发的 UILocalNotification

php - session 在 iPhone(Safari、Chrome)中不起作用

ios - 核心数据关系 - 增加现有值(value)

ios - Cordova iOS 插件中访问各种类型的参数是如何用 Swift 编写的

swift - 二元运算符 '==' 不能应用于两个操作数

ios - 使用 TwitterKit 在框架模块内包含非模块化 header