2392

Solution Open Terminal, and run the following: xcode-select --install This will download and install xcode developer tools and fix the problem. You do not need Xcode, you can install only the Command Line Tools here, it is about 130Mb. If the above alone doesn't do it, then also run: xcode-select --reset Further reading The problem is that one needs ...


75

If you don't want to install nor use Xcode (I don't) you can install only command tools for Xcode (please see Edit) Preconditions: you have AppleID Solution Go to https://developer.apple.com/download/more/ and find Command line tools OS X 10.11) for Xcode 7.1. Then install downloaded .dmg package. Newer versions It should work with newer versions of ...


55

Fastest Solution Use the adoptopenjdk cask See also https://discourse.brew.sh/t/how-to-install-openjdk-with-brew/712/4 To install latest: brew cask install adoptopenjdk To install a specific version brew tap AdoptOpenJDK/openjdk brew cask install adoptopenjdk8 brew cask install adoptopenjdk9 Manual Solution If you are looking to just bring down the ...


44

For macOS High Sierra, just run the same command: xcode-select --install and everything will get back to work. 2019 UPDATE: This is needed for every new macOS version, so it'll work for Catalina as well.


40

Go to Preferences > General > Appearance > Colors and Fonts, expand the "Basic" folder and select "Text Font" and change that to whatever size you like. For Eclipse Neon: To Increase Ctrl + To reduce Ctrl - for Macs, use the command key, not the control key


34

Inside the Eclipse.app is a setting for the font size. To make the fonts globally larger edit Eclipse.app » Contents » Eclipse » eclipse.ini and remove the line -Dorg.eclipse.swt.internal.carbon.smallFonts from the file. Save the file and restart Eclipse.


34

Delete this one folder: /Library/Developer/CommandLineTools This uninstall process is documented officially by Apple. If you have installed these tools another way or have prompts to upgrade them, consider searching for files named like /System/Library/Receipts/com.apple.pkg.CLTools.bom since that may be a receipt for a past installation of the tools ...


28

Here are the steps I needed to go through for Mojave: First xcode-select --reset. Next I needed to upgrade xcode tools to the latest version: sudo softwareupdate -ia --verbose (NB: this runs all available updates from the app store, there is a way to specify that you only want to update one app/program, but I don't know it off the top of my head). You can ...


27

The devices tab is now a new screen. Use for Development no longer exists. The option in Window → Devices or ⇧⌘2. From that window you could enable devices for development by adding your provisioning profiles. Right click on device and select Show Provisioning Profiles.... It will appear a window where you can add your profiles. After that you will be ...


26

There are two programs that I am aware of which will easily allow you to configure your Mac to send email from the command line. I have written up HOWTOs for both of them: mailsend msmtp Of the two, I suggest msmtp. Configuration is complicated enough that I'm not sure if I should replicate all of the steps here, but I will mention that if you use ...


24

Open Safari and choose Safari > Preferences > Advanced. Then select the checkbox 'Show Develop menu' in menu bar. Choose Develop > Show Error Console.


23

You'll do just fine with a MacBook Air, at least, that's what I'd go for (and I'm in love with the Air as well :)) I will miss the DVD drive, and upgrade ability if I am choosing a Macbook Air over Macbook Pro or a Thinkpad Machine? Who uses a drive more then 2 times a year these days? I don't and I think most of the Mac users don't. And if you really ...


23

You don't need to pay for an Apple's developer want the $99 option for a store certificate, billing and general code signing certificates. Your personal AppleID is good enough to sign apps in Xcode and load them on a limited number of devices (5 or so) from your Mac to get started with developing. Once you need TestFlight or want to make a signed app that ...


23

You have to run another step after installing the command line tools: sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / Why? Apple have introduced a new build tool dance - system includes are now only kept under a specific SDK's path with Xcode 10 onwards: The Command Line Tools package ...


21

Intel Intrinsics are really just a library that provides easier access to a number of Intel instructions sets - such as SSE (Streaming SIMD Extensions), AVX, etc. - for C programmers. The goal is to be able to utilise these instruction sets for parallelisation, etc. without having to do low-level assembly programming by hand. The ARM platform has similar ...


19

Use Command-K (⌘+K) to clear Safari 6 Web Inspector console.


19

I tried the xcode-select --install but I was forced to install it from the App Store. Then all git stuff ran smoothly.


18

As of 2018, the Homebrew Versions repository ('tap') is out of service. The stock Homebrew llvm package still doesn't include clang/clang++, by default. Thus, it isn't part of the prebuilt ('bottled') package. One can build it via: brew install --with-toolchain llvm And then use it via e.g.: $ PATH="/usr/local/opt/llvm/bin:$PATH" \ LDFLAGS='-L/usr/...


16

The easiest way for most programs is to install with a package manager like Macports, Homebrew or Fink. The porters will have worked out the issues about porting the code to OSX so it should be as simple as follows (for Macports) Install macports, download the .pkg file and run it Install Xcode and its command line tools Add /opt/local/bin to your path - ...


16

A unix-ish package manager is clearly the way to go. I have moved from fink and Macports to homebrew, which has a recipe for cvs: brew install cvs For historical completeness, you formerly had to use the (slightly hard to find) recipe for cvs: brew install homebrew/dupes/cvs. After only very minimal testing, it seems to work.


15

The most basic way to send mail is trough a telnet session with the smtp server of your provider/network. After you contacted the server and after every command the server will answer if it accepts the command with something like "250 OK", or if not with an error message. All details can be found in RFC2821 - Simple Mail Transfer Protocol, Google for it. ...


15

There are multiple options: The simplest would be to create two user accounts. Your first account is created during the first use of the Mac. Create a second account by clicking the Apple-menu in the top left corner, select System Preferences, Users & Groups, open the lock and click + to add a new user. This way you can login to either a personal or ...


14

Why choose the Macbook Air? Fast flash memory. (short boot time, support for Power Nap1,...) Slightly higher pixel density: 127 ppi vs2 113 ppi Less weight, smaller dimensions. Why not? Better color space coverage3 of the Macbook Pro display panel (78%-100% vs 56%-79%). I personally made the switch from a 15" MBP (2011) to a 13" MBA (2012) and I find the ...


14

The accepted answer is correct, but also note that git does not make it obvious if the error is coming from remote or from local. If you are running OS X on your remote, your install problem may be on the remote side and you'll see the same error on git clone and git pull but NOT on git status.


13

This worked for me, it was written with Lion in mind but works for Mountain Lion. Btw this is using Gmail so if you're not... You don't need to download anything! (just setup a gmail account) http://www.anujgakhar.com/2011/12/09/using-macosx-lion-command-line-mail-with-gmail-as-smtp/ Configure Postfix for Gmail SMTP Edit file /etc/postfix/main.cf sudo ...


13

Here is the OS X Yosemite v10.10 Documentation. You can always find developer resources on the Apple Developer sites. You can find other OS X documentations there, as well as iOS documentations. Other resources, such as feature descriptions, revision histories, upcoming changes, and user agreements can be found there, also. The best of luck in your ...


13

The Mono project maintains a cross-platform C#/.net environment which works well on macOS. http://www.mono-project.com/docs/about-mono/supported-platforms/osx/


12

They are usually linked in /usr/local/lib. If they are not there, try brew link <library-you-are-installing>; that should solve it.


12

xcode-select --install and xcode-select --reset didn't work for me. I had to download it manually from Apple Developers website: https://developer.apple.com/download/ Choose the Command line of your current OS.


Only top voted, non community-wiki answers of a minimum length are eligible