macOS - Troubleshooting28 Oct 2017
- battery percentage is not properly updating
- active developer directory is a CLT instance
- unable to update Xcode from 8.2.1 on El Capitan
- tab navigation doesn’t work in Google Chrome
- macOS won’t display Wi-Fi login screen
- Dashlane window is not visible
- youtube-dl is unable to download videos
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/Xcode.app/Contents/Developer
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-[>) 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:
- Google Chrome:
- Select Previous Tab:
- Select Next Tab:
- Select Previous Tab:
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 (184.108.40.206 and 220.127.116.11) 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:
- magic URL http://captive.apple.com/hotspot-detect.html
- Wi-Fi router admin panel (192.168.0.1, 192.168.1.1, etc.)
- any site URL
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
Activity Monitor. login pop-up window must appear the next time Dashlane is
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