macOS - Troubleshooting

battery percentage is not properly updating


reset the SMC.

active developer directory is a CLT instance

xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance


just switch to Xcode directory:

$ sudo xcode-select -s /Applications/

unable to update Xcode from 8.2.1 on El Capitan


Xcode 8.3 and higher requires macOS Sierra.

tab navigation doesn’t work in Google Chrome

OS-wide tab navigation shorcuts (<D-S-[>, <D-S-[>) no longer work after upgrading Google Chrome to 69.0.3497.100 and only when using Dvorak keyboard layout - it’s like okay again after switching to Qwerty.


Keyboard → Shortcuts (tab) → App Shorcuts

add these shortcuts:


this issue is fixed in Google Chrome 70.0.3538.67 - it’s possible to remove custom shortcuts now.

macOS won’t display Wi-Fi login screen

I have the same problem on iPad too.



the culprit is Google DNS servers: by default Wi-Fi network tries to use its own DNS servers to load login screen (which are accessible a priori). instead in my case it’s forced to use Google DNS servers ( and which are not yet available.

solution is to remove Google DNS servers altogether so that Wi-Fi network’s default DNS servers are used.

if it’s all okay with DNS servers try to open:

in all cases you should be redirected to Wi-Fi login screen.

Dashlane window is not visible


most likely Dashlane has already logged me out but login pop-up window is not shown - it doesn’t matter how many times I open and close application itself.

solution is to kill DashlaneAgent process - say, using htop or Activity Monitor. login pop-up window must appear the next time Dashlane is launched.

youtube-dl is unable to download videos

$ youtube-dl <URL>
ERROR: unable to download video data: HTTP Error 403: Forbidden


$ youtube-dl --rm-cache-dir