Questions tagged [macos]

macOS (formerly known as OS X or Mac OS X) is the desktop operating system from Apple, found on Macintosh computers. Use this tag only if your question relates to using macOS APIs or macOS-specific behavior, not because you happen to run your code on macOS. Questions relating to using or troubleshooting macOS are off-topic and belong in the Ask Different community instead.

macOS (formerly known as OS X until 2016 and Mac OS X until 2012) is the desktop operating system from Apple Inc., found on Macintosh computers.

Use this tag for questions about writing and debugging programs on macOS. Questions relating to using or troubleshooting macOS are off-topic (use apple.stackexchange.com instead).

macOS() consists of a Mach/BSD-based kernel, operating system interfaces primarily based on FreeBSD (), and additional frameworks (written in C (), C++ (), Objective-C () and Swift () providing user interface and application-level services.

It was the successor to Mac OS 9. macOS is based upon the NeXTSTEP and OpenStep operating systems developed in the 1980s and 1990s by NeXT Inc., which Apple purchased in 1996.

Versions

  • Current macOS Big Sur
  • macOS Catalina 10.15.1
  • macOS Mojave 10.14.1
  • macOS High Sierra (10.13)
  • macOS Sierra (10.12)
  • OS X El Capitan (10.11)
  • OS X Yosemite (10.10)
  • OS X Mavericks (10.9)
  • OS X Mountain Lion (10.8)
  • OS X Lion (10.7)
  • OS X Snow Leopard (10.6)
  • OS X Leopard (10.5)
  • OS X Tiger (10.4)
  • OS X Panther (10.3)
  • OS X Jaguar (10.2)
  • OS X Cheetah (10.1)
  • OS X Puma (10.0)

More information:

116456 questions
293
votes
17 answers

Eclipse hangs at the Android SDK Content Loader

I've been working with Eclipse 4.2 (Juno release 20120920-0800) on OS X 10.8.2 for a few weeks now, building apps for Android 3.0 and above. I have a quad core i7 MacBook Pro with an SSD, so performance is not an issue. Everything was fine. At some…
slhck
  • 36,575
  • 28
  • 148
  • 201
291
votes
10 answers

How to install JQ on Mac on the command line?

I need to know the most efficient way of installing JQ on Mac (El Capitan). The code is downloaded to my Mac but I would like to know how I can install and operate it via the command line.
Ross Brannigan
  • 3,051
  • 2
  • 10
  • 3
291
votes
16 answers

Xcode is not currently available from the Software Update server

I have problems with my macport after update to OS X 10.9. I try to follow this manual https://trac.macports.org/wiki/Migration to fix them. But when I install Command Line Tools: xcode-select --install I get message Can't install the software…
klm123
  • 12,105
  • 14
  • 57
  • 95
289
votes
4 answers

CSS - Overflow: Scroll; - Always show vertical scroll bar?

So currently I have: #div { position: relative; height: 510px; overflow-y: scroll; } However I don't believe that it will be obvious to some users that there is more content there. They could scroll down the page without knowing that my div…
Jambo
  • 2,937
  • 2
  • 17
  • 15
287
votes
16 answers

MacOS Catalina(v 10.15.3): Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser

I have recently upgraded my mac machine to OS Catalina(v 10.15.3). After this upgrade I am unable to launch the chrome driver using selenium. I am facing the below error when I run the selenium code to launch the chrome browser. "“chromedriver”…
Venkatesh G
  • 8,466
  • 4
  • 13
  • 22
287
votes
7 answers

How to detect if the OS is in dark mode in browsers?

Similar to "How to detect if OS X is in dark mode?" only for browsers. Has anyone found if there is a way to detect if the user's system is in the new OS X Dark Mode in Safari/Chrome/Firefox? We would like to change our site's design to be dark-mode…
funkju
  • 3,463
  • 2
  • 15
  • 19
285
votes
7 answers

Installing Apple's Network Link Conditioner Tool

I have installed xcode 4.3.1 on my machine running Lion. I can't find the Network Link Conditioner tool anywhere. I have checked the utilities folder, also the xcode/contents/developer/* directories.. no such luck. Do I need to install specific…
humanaut
  • 3,045
  • 2
  • 14
  • 12
284
votes
24 answers

Upgrade all the casks installed via Homebrew Cask

I use Homebrew Cask to install applications on OS X. How do I upgrade all the installed casks?
enrico.bacis
  • 30,497
  • 10
  • 86
  • 115
284
votes
15 answers

How do you update Xcode on OSX to the latest version?

What is the easiest way to update Xcode on OSX? I see this in the terminal: $ brew install xxxxxxx Warning: Your Xcode (4.3.3) is outdated Please install Xcode 4.6. But when I go to open up Xcode > Preferences > Downloads, it says there are no…
Evan R.
  • 3,277
  • 3
  • 16
  • 14
283
votes
7 answers

How do I find a list of Homebrew's installable packages?

Recently I installed Brew. How can I retrieve a list of available brew packages to install?
dnlcrl
  • 5,022
  • 3
  • 32
  • 40
283
votes
28 answers

adb command not found

I need to run an adb forward command before I could use the ezkeyboard application which allows user to type on the phone using browser. When I run adb forward tcp:8080 tcp:8080 command I get the adb command not found error message. I can run…
coure2011
  • 40,286
  • 83
  • 216
  • 349
280
votes
8 answers

How to run a shell script in OS X by double-clicking?

I have a shell script that has user execution permission on OS X, but when I double click on it, it opens in a text editor. How can I get it to run by double-clicking it?
c2h2
  • 11,911
  • 13
  • 48
  • 60
280
votes
11 answers

How do I edit $PATH (.bash_profile) on OS X?

I am trying to edit an entry to PATH, as I did something wrong. I am using Mac OS X v10.10.3 (Yosemite) I have tried: touch ~/.bash_profile; open ~/.bash_profile But the file editor opens with nothing inside. My problem: I am trying to install…
Thiago
  • 12,778
  • 14
  • 93
  • 110
280
votes
25 answers

Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.

I'm trying to install PhoneGap and I'm getting the following error: Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions. Error (screenshot) What do I do to ensure Android is set…
rrvasanth
  • 2,831
  • 3
  • 15
  • 9
280
votes
12 answers

Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined

I upgraded to the latest Java 7u40 on MacOS X and started getting the following message on the console when launching my application using Eclipse. The app works fine but I would like to find out the cause of the problem and hopefully a fix for it.…
ams
  • 60,316
  • 68
  • 200
  • 288