当我安装pod1时,它阻止我安装pod2,当我安装pod2时,它阻止我安装pod1

时间:2016-08-27 06:51:12

标签: firebase terminal cocoapods twilio podfile

当我安装pod' Firebase'它阻止我安装pod' TwilioConversationsClient',当我install pod 'TwilioConversationsClient'时,它阻止我安装pod' Firebase'。我收到" [!]无法找到Firebase"的规范终端中的消息。

    podfile
-----------------------------------------------------------------------
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

source 'https://github.com/twilio/cocoapod-specs'

target 'podname' do

pod 'TwilioConversationsClient'

  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  # Pods for podname

pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Storage'


end
-------------------------------------------------------------------

他们单独安装,但不能一起安装。请帮忙

1 个答案:

答案 0 :(得分:0)

Twilio开发者传播者在这里。我相信问题是您在添加Twilio规范URL时删除了主CocoaPods规范URL。在您当前source行所在的位置添加以下行(您需要两者):

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/twilio/cocoapod-specs'

这有助于解决Firebase窗格。