Cocoapods: Error -9806 while trying to integrate a library

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Cocoapods: Error -9806 while trying to integrate a library

    Hi, ich möchte diese zip-Bibliothek in meine macOS Anwendung einbinden.
    Dafür verwende ich Cocoapods. Ich habe ein Podfile mit pod init erstellt und in dieser pod 'Zip', '~> 0.4' hinzugefügt:

    Quellcode

    1. # Uncomment this line to define a global platform for your project
    2. platform :osx, '10.10'
    3. target 'Test' do
    4. # Comment this line if you're not using Swift and don't want to use dynamic frameworks
    5. use_frameworks!
    6. # Pods for Test
    7. pod 'Zip', '~> 0.4'
    8. end

    Wenn ich nun pod install ausführe, erhalte ich folgende Ausgabe auf der Konsole:

    Quellcode

    1. Analyzing dependencies
    2. Downloading dependencies
    3. Installing Zip (0.4.3)
    4. [!] Error installing Zip
    5. [!] /usr/bin/git clone https://github.com/marmelroy/Zip.git /var/folders/n5/4f8c27g57tn94vhb7xcd95ww0000gp/T/d20160712-26003-1l6n5lt --template= --single-branch --depth 1 --branch 0.4.3
    6. Cloning into '/var/folders/n5/4f8c27g57tn94vhb7xcd95ww0000gp/T/d20160712-26003-1l6n5lt'...
    7. error: RPC failed; curl 56 SSLRead() return error -9806
    8. fatal: The remote end hung up unexpectedly
    9. fatal: early EOF
    10. fatal: unpack-objects failed
    Alles anzeigen

    Ich habe es mehrmals und auch mit anderen Bibliotheken ausprobiert: es kommt immer der gleiche Fehler!
    Mache ich hier etwas falsch? Wäre super, wenn mir jemand einen Tipp geben würde.
  • kann es sein das die Specs source fehlt?

    hier mal ein podfile aus den Projekten an denen ich arbeite
    vielleicht hilft dir das weiter

    Quellcode

    1. inhibit_all_warnings!
    2. source 'https://github.com/CocoaPods/Specs.git'
    3. use_frameworks!
    4. platform :ios, '8.0'
    5. target "XXX" do
    6. pod 'HockeySDK'
    7. pod 'SnapKit', '~> 0.19'
    8. pod 'Google-Mobile-Ads-SDK', '7.8.1'
    9. pod 'GoogleAnalytics', '3.13.0'
    10. end
    11. target "XXX enterprise" do
    12. pod 'HockeySDK'
    13. pod 'SnapKit', '~> 0.19'
    14. pod 'Google-Mobile-Ads-SDK', '7.8.1'
    15. pod 'GoogleAnalytics', '3.13.0'
    16. end
    Alles anzeigen
    Ich weiß nicht immer wovon ich rede aber ich weiß das ich Recht habe. :saint:
  • Busty schrieb:

    [!] /usr/bin/git clone github.com/marmelroy/Zip.git /var/folders/n5/4f8c27g57tn94vhb7xcd95ww0000gp/T/d20160712-26003-1l6n5lt --template= --single-branch --depth 1 --branch 0.4.3

    Cloning into '/var/folders/n5/4f8c27g57tn94vhb7xcd95ww0000gp/T/d20160712-26003-1l6n5lt'...
    error: RPC failed; curl 56 SSLRead() return error -9806
    Ich weiß jetzt nicht was cURL mit git zu tun hat, aber probier mal im Terminal das Repo zu klonen, ob das funktioniert.


    Shell-Script

    1. git clone https://github.com/marmelroy/Zip.git
    Ansonsten such mal nach curl 9806 mit google, bing, yahoo. duckduckgo und was es sonst noch so gibt (und Sinn macht).