Cannot install Xcode 10 Network Link Conditioner in macOS Mojave
I'm using the final version of Xcode 10 on macOS Mojave beta 11. I downloaded the Additional Tools for Xcode 10 package from Apple's website.
When I try to install the Network Link Conditioner Preference Pane, Settings.app displays this error:
“Network Link Conditioner” preferences is installed with macOS and can’t be replaced.
However, the preference pane is not visible inside Settings.app. I even checked under /Library/PreferencePanes
- it's not there.
How can I get around this?
I ended up manually copying the .prefPane
file to:
/Library/PreferencePanes
After restarting Settings.app, it finally appeared on the list and worked perfectly.
As Martijn Scheffer stated in this comment, the reason for the pane not appearing in System Preferences is that the installer incorrectly puts the file to ~/Library/PreferencePanes
instead of /Library/PreferencePanes
.
Download in https://developer.apple.com/download/more/ Additional Tools for Xcode 10.1
Network Link Conditioner is already installed but you can't see it on the Settings App. This worked for me:
- Press Command + Space to open spotlight
- Search for
Network Link Conditioner
- It will appear on the result, click on it and it will open Settings app.
-
Network Link Conditioner
is now visible in the Settings App. Open it from the Settings app.
Hope this helps!
+1 to brainray, what worked for me was:
- Download new Network Link Conditioner
- Replace the old one in /Library/PreferencePanes
- Open Network Link Conditioner directly from /Library/PreferencePanes
It now appears in my Settings app
In case the NLC is freezing when turning it on in the preferences it's important to note that it has to run as admin.
With the following command the preference app from MacOS can be started as admin:
sudo /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences
See here: https://stackoverflow.com/a/36445625/4417912
Update on the answer June 2019 Xcode 10.2
Apple has moved Network Link Conditioner Tool to additional tools for Xcode
Go to the below link
https://developer.apple.com/download/more/?q=Additional%20Tools
Install the dmg file, select hardware from installer
select Network Link conditioner prefpane