Hot answers tagged

2130

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. The problem is that one needs to explicitly agree to the license agreement. As a follow on step, you may need to reset the path ...


71

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 ...


58

Try restarting the Dock by running the following command in a Terminal: killall Dock This will re-launch the process responsible for Dock in macOS. Once re-launched, you should be able to see and add the Visual Studio Code app icon in the Dock.


44

WORKAROUND: Read somewhere that to get (temporarily) the resizing bar, you drag one of the split windows by the title to the other side of the monitor. The bar will remain for a while. Resize, and if needed, switch back the windows. It has been working for me on an external LG monitor in Mojave.


41

General Note This task seems to be getting harder as time passes. A new wrinkle is that a lot of these older installers, even if you can get hold of them, have an 'expiry date'. If you see a message such as “This copy of the Install OS X El Capitan application can’t be verified. It may have been corrupted or tampered with during downloading”, or a more ...


41

For macOS High Sierra, just run the same command: xcode-select --install and everything will get back to work.


29

It's definitely not a dead-pixel issue. I've determined it's probably a software bug in Mojave. I'm not able to screenshot the glitch in most cases (the glitch will typically immediately disappear), but I have managed to capture it on a couple of videos and screenshots. The fact that it can be captured in software and the fact that the cursor can cover over ...


28

You can also use the much more straightforward command: pwpolicy -clearaccountpolicies to remove the 4-character requirement for all users. The man page gives other useful examples if you want to change the policy on a per-user basis.


27

I have the same issue: The google calendar stuff is nonsense. The notification settings suggestion doesn't work. I've narrowed it down to the following: I normally hit the red cross button on the viewer window once I have finished looking at my mail, this closes open viewer windows but leaves the mail app active in the dock: So if I have mail running, ...


26

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 ...


26

Found a solution! If you get a similar problem like this one: The solution is to visit the following URL directly from Safari: http://captive.apple.com/hotspot-detect.html You should be able to connect immediately. For some reason, Mojave is not redirecting or opening that page properly, hence the error.


25

Edit As pointed by many others (@nitive's comment below) there is a much easier way to fix this and it is killall Dock. Kudos to @nitive Original long, boring, and not so efficient answer LOL right after posting it, I found the answer Fist: open the Dock config (plist): open ~/Library/Preferences/com.apple.Dock.plist Second: Find the item in persistent-...


23

Session This keystroke toggles between show & hide the hidden files: Cmd ⌘ Shift ⇧ . (that’s a FULL STOP, period character) Press again to toggle back and forth. When you reboot your Mac, the hidden files will be hidden. Press the keystroke again to show. Persistent In Terminal.app, paste: defaults write com.apple.finder AppleShowAllFiles -...


20

In previous versions of the beta this was not possible. But in the latest release (as of 9/15/18) it is possible to use direct links to open the download page. This links can be found on Apple's How To Download pages. Here are the direct links for a some of them: High Sierra Sierra El Capitan Yosemite All other OS can be purchased from Apple directly ...


20

Optionally, learn a bit of the regular expression language - regex (this may take a while) and you can use the one crafted below for a 4 character length password. Here’s how to retrieve the configuration, edit that file, and then load it into the system: pwpolicy getaccountpolicies > ~/Desktop/file.plist nano ~/Desktop/file.plist Delete the first line, ...


19

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


19

The first thing I would try is changing the security and privacy settings in System Preferences. You can do this as follows: Go to Apple > System Preferences… Click on Security & Privacy Select the Privacy tab at top right In the lefthand pane select the Accessibility option At bottom left of the window make sure the padlock is unlocked (if not, select ...


19

In Mojave, the address bar has different shades of gray/black depending on whether you're in private mode or not. In light mode it's light gray for not private, and a dark gray for private mode. In dark mode it's black for private, a fairly medium gray for not private.


18

To disable Dark Mode for MS Office only, you need to run a terminal command for each of the MS Office apps in question. For example, if you wish to disable dark mode in MS Excel, follow these steps: Quit Excel if it’s running Launch Terminal (usually found in the Applications/Utilities folder) Enter (or copy and paste) the following command: defaults write ...


17

How Mojave responds when an application tries to access this sensitive information; will it alert the user, block unsigned apps or what? When an application attempts to access restricted directory the user will be prompted with a dialog box explaining the following information: What Application What the application is trying to access Option to Allow or to ...


17

I just had a similar issue and resolved it by: going to System Preferences > Security & Privacy > Privacy. Click the "lock" icon to make changes. Scroll down the list on the left-hand side and select "Full Disk Access" Click the "+" icon on the right and select the Terminal app (or in my case iTerm) You'll now be prompted to close the app if it's ...


16

I've fixed it! You'll have to edit the dune HEIC picture though. If you're willing, follow these steps: ​1) Go To: /Library/Desktop Pictures/ 2) Find the file called "Mojave.heic" 3) Save a copy as a backup somewhere else 4) Select the picture you want to have instead 5) Edit image values (DPI, size, etc.) to fit 6) Rename this edited picture as Mojave....


16

Open the Terminal application Type or paste defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO Press ↩︎ (Enter) Restart the computer To return it back, do the same but instead type in the terminal defaults delete -g CGFontRenderingFontSmoothingDisabled


16

A less drastic way: Go to System Preferences > Security & Privacy and give Full Disk Access to Terminal. Adapted from https://discussions.apple.com/thread/8637915


15

Is there any other new shortcut for zooming an image to actual size in Quick Look on the latest version of macOS Mojave? In the public release of macOS Mojave 10.14, Command + 0 keyboard sequence appears to achieve the desired function. To zoom back out again use the keyboard shortcut Command + 9. You can use Command+ and Command- to Zoom in and Zoom Out, ...


15

Disable SIP Open /Applications/Utilities/Terminal.app Enter in sudo rm -rf /Applications/iTunes.app Enter your password (it won’t be displayed on screen)


14

You can select the file and press Option + Command + C to copy the pathname to the clipboard. https://apple.stackexchange.com/a/252179/192890 You can also use Control + Option + right click in macOS Mojave (copy as pathname will replace copy file in get info modal). Little change but I just found it. Still works on networked drives too.


14

.m4a files created by Voice Memos can be found at /Users/your_username/Library/Application Support/com.apple.voicememos/Recordings. Inside that folder is an .m4a file of the actual recording, prefaced with a string of numbers. The file is not saved with the name you give the memo in the interface, unfortunately. The Voice Memos interface allows you to ...


13

Try this: defaults write -g NSRequiresAquaSystemAppearance -bool Yes Then logout or restart. Then go to the system preferences and select dark mode. It will make top bar and dock dark while everything else in light mode. To revert it back: defaults write -g NSRequiresAquaSystemAppearance -bool No EDIT: Please also have a look on the answers bellow, they ...


13

A combination of the answers in here + killing all QuickLook-related processes fixed it for me. I have been experiencing this ever since the Mojave update. No reboot required. qlmanage -r commands always got stuck for me, too. Fix TL;DR version: Delete DropboxQL.qlgenerator from ~/Library/QuickLook (Credit to suntrop) Restart Finder sudo ...


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