You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, i've installed xcode. swiftlint was working fine but suddenly it started throwing this error.
Output of xcode-select -p : /Library/Developer/CommandLineTools
If it's installed elsewhere, please replace the /Applications/Xcode.app path in the command above to the location where you've installed Xcode.
Reacted by Federico Jordán, Artyom Peshkov, Dewald de Jager, Mark Powell, OlegZhuckovich, Rostyslav Druzhchenko, Jakub, himanshuNetsol, Parisa, Dmitry Shliugaev and 227 more
Reacted by Parisa, Ivo Dutra, Dmitry Shliugaev, Kamil Harasimowicz, Rafael Lage, Dominik Bucher, Artem Ulko, motohiro tajima, Bárbara Souza, Rodrigo Cardoso Buske and 72 more
Reacted by Artem Ulko, uilyam, Derek Yin, rajgrailed, Rodrigo Cardoso Buske, José Victor, Denis Tkachev, Vitalii Vasylyda, Furqan Khan, marquavious and 78 more
Reacted by Inigo Mato, Kim de Vos, Kaique Alves Damacena, Hayeon Park and Jacob Maizel
Activity
jpsim commentedon Apr 25, 2017
Have you installed Xcode? What's the result of
xcode-select -p?PraveenSingh107 commentedon Apr 26, 2017
Yeah, i've installed xcode. swiftlint was working fine but suddenly it started throwing this error.
Output of xcode-select -p : /Library/Developer/CommandLineTools
jpsim commentedon Apr 26, 2017
The command line tools located at
/Library/Developer/CommandLineToolsdo not contain a Swift toolchain.Where have you installed Xcode? If it's installed under
/Applications/Xcode.app, please run:If it's installed elsewhere, please replace the
/Applications/Xcode.apppath in the command above to the location where you've installed Xcode.PraveenSingh107 commentedon Apr 26, 2017
Thanks. Issue got resolved
ulkoart commentedon Apr 24, 2020
Thank you so much! advice helped me.
koushikkarmakar commentedon May 4, 2020
thanks a lot !! it helped me as well :)
americo677 commentedon Oct 29, 2021
Thank you jpsim!, It works for me!. macOS Big sur 11.6.
sanket492 commentedon May 5, 2023
Thank you @jpsim from bottom of my heart, this helped me to resolve my issue
ObjectiveCesar commentedon Jun 18, 2024
This is not sufficient, if you have a nightly/snapshot swift toolchain installed. See: #5325 (comment)
lucaomr commentedon Sep 18, 2024
Thanks, this help me a lot!
metasidd commentedon Feb 5, 2025
Small nit for non-developers like me who struggled with the command above. If you're running...
and are seeing the error below,
You likely have a separate XCode app name. Try running something like this
Hope it helps 🙏
[-]fatal error: Loading sourcekitd.framework/Versions/A/sourcekitd failed[/-][+]Loading `sourcekitd` fails[/+]