Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

124
Views
Cannot resolve Swift packages after 15th March 2022 in Xcode

Package resolution is suddenly failing in Xcode. I tried the following options:

  1. Reset cache under File/Packages/Reset Package Caches
  2. Delete shared SPM cache using rm -Rf ~/Library/Caches/org.swift.swiftpm/

I can see following error for different packages.

You're using an RSA key with SHA-1, which is no longer allowed. Please use newer client or a different key type.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

After looking around, I found out Github security blog that mentions that from 15th March 2022 onwards, RSA keys with SHA-1 are no longer accepted. See blog here

I tried creating SSH key with command provided on Github documentation but it turned out that Xcode does not accept ED25519 encryption method and commands provided at Github docs do not work.

Eventually I found this nice post the explains the issue and offers alternative encryption method ECDSA that is accepted by Xcode.

Use the following command to create new SSH key and add it to Github.

ssh-keygen -t ecdsa -b 521 -C "your_email@example.com"

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!