sweetpad-dev / sweetpad

Develop Swift/iOS projects using VSCode
https://marketplace.visualstudio.com/items?itemName=sweetpad.sweetpad
MIT License
586 stars 19 forks source link

Error: swift-format: the bottle needs the Apple Command Line Tools to be installed. #45

Closed sunildhiman90 closed 2 months ago

sunildhiman90 commented 2 months ago

Hi, im not able to install tools, and getting following error on mac m1 :

Error: swift-format: the bottle needs the Apple Command Line Tools to be installed. DO i need to do any additional setup?

sunildhiman90 commented 2 months ago

Thanx, This is resolved, i needed to install the command line tools for xcode:

xcode-select --install

hyzyla commented 2 months ago

Thanks for letting me know. I think I can show better error for that case

sunildhiman90 commented 2 months ago

Yes, i think you can show command as well, in case if user have not installed xcode command line tools i think.😀