Search code examples
firebaseterminalcocoapodstwiliopodfile

When I install pod1 it prevents me from installing pod2, when I install pod2 it prevents me from installing pod1


when I install pod 'Firebase' it prevents me from installing pod 'TwilioConversationsClient', when I install pod 'TwilioConversationsClient' it prevents me from installing pod 'Firebase'. I receive "[!] Unable to find a specification for Firebase" message in terminal.

    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
-------------------------------------------------------------------

They install separately, but not together. please help


Solution

  • Twilio Developer Evangelist here. I believe the problem is that you have removed the main CocoaPods spec URL when you added the Twilio spec URL. Add the following line above where your current source line is located (you need both):

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

    This should help resolve the Firebase pod.