Couldn't determine repo type for URL: `https://cdn.cocoapods.org/`

Hi everyone,


when trying to run pod install or pod update, I am getting following problem in the terminal:

[!] Couldn't determine repo type for URL: `https://cdn.cocoapods.org/`: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version

[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.


My podfile looks like this:

#source 'https://github.com/CocoaPods/Specs.git'

# Uncomment the next line to define a global platform for your project
 platform :ios, ’10.0’

target 'Sommerabend' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!


  # Pods for Sommerabend
     pod 'Firebase/Auth‘
     pod 'Firebase/Database’
     pod 'Firebase/Storage'
     pod 'Firebase/Core'
     pod 'Firebase/Firestore'
     pod 'Firebase/Messaging'
     pod 'AZDropdownMenu'
     pod 'Fusuma'
     pod 'AlgoliaSearch-Client-Swift', '~> 4.0‘
     pod 'SwiftyJSON', '~> 4.0'
     pod 'OneSignal', '>= 2.6.2', '< 3.0'
     pod 'InstantSearch', '~> 4.0'
  
target 'OneSignalNotificationServiceExtension' do
   pod 'OneSignal', '>= 2.6.2', '< 3.0'


end


What is the problem? Can anyone help me, please?

Could solve issue 🙂


Did following things:

  1. cd ~/.cocoapods/repos
    git clone "https://github.com/CocoaPods/Specs" master --depth 1
  2. Removing # before #source 'https://github.com/CocoaPods/Specs.git'
  3. Running pod install
Couldn't determine repo type for URL: `https://cdn.cocoapods.org/`
 
 
Q