SRGSSR / srgletterbox-apple

The official SRG SSR media playback experience
https://srgssr.github.io/marketing/letterbox/
MIT License
14 stars 7 forks source link

The server SSH fingerprint failed to verify #239

Closed va1da closed 3 years ago

va1da commented 3 years ago

Hi, I'm trying to use new letterbox library thru Swift Package Manager, but it gives me this error: Screenshot 2020-12-29 at 14 44 54

Is there still a way to import Letterbox with Carthage or SPM is now only choice? Thanks for help.

pyby commented 3 years ago

@va1da In the tmp folder, could you try git clone https://github.com/SRGSSR/srgletterbox-apple.git and check that clone works?

You should check your git / ssh configuration on your machine. ~/.ssh/known_hosts mays be the cause. https://github.com/webfactory/ssh-agent/issues/4

Since version 6.0.0, all SRGLetterbox-Apple dependencies are now on a public repository, and only available with SPM packager and Xcode 12. No SSH or https credentials required.

Then, the migration guide is available to switch from Carthage to SPM, written from various iOS team feedbacks. https://github.com/SRGSSR/srgletterbox-apple/wiki/Migration-guides

va1da commented 3 years ago

git clone https://github.com/SRGSSR/srgletterbox-apple.git works for me. So it must me some Xcode issue.

Adding github.com to known_hosts didn't help.

va1da commented 3 years ago

OK, so in case that anyone else will experience this issue: this solved my problem: https://stackoverflow.com/a/58179025/14919598

pyby commented 3 years ago

@va1da Thank you very much for sharing to all of us the solution, if we experience the same issue.