geekchick77: (Default)
[personal profile] geekchick77
I am a bit annoyed at how difficult it is to get a working development environment on Mac OS these days.

I started out by installing homebrew, which is simple enough. I tried running brew doctor and got a message about how my XCode was out of date.

I have no idea why you can't just download XCode from Apple's site. I don't use my Apple login often enough to be able to remember it, so I always have to hunt around before I am able to log in. Next up was navigating the App Store, which was non-obvious to me. It took me quite a while to realize I had to click the "Free" button beside the dropdown to start the download. After waiting for the rather lengthy download, I discovered that installing XCode is no longer enough to give you command line tools. You are supposed to be able to install them from inside XCode, but I could not see them under Downloads. In the end, I logged back into Apple's site, at https://developer.apple.com/downloads/, and searched for Command Line Tools for XCode. I picked the most recent version, and downloaded and installed that.

I usually add the following to my .bashrc so my brew installations are found ahead of any system installations:
export PATH=/usr/local/bin:$PATH

Finally, I was able to run brew doctor and get on with my project!
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

geekchick77: (Default)
Jessamyn Smith

December 2022

S M T W T F S
    123
4567 8910
11121314151617
18192021222324
25262728293031

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 06:44 am
Powered by Dreamwidth Studios