Cannot install Xcode 10 Network Link Conditioner in macOS Mojave

XcodeMacosXcode10Macos Mojave

Xcode Problem Overview


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.

enter image description here

How can I get around this?

Xcode Solutions


Solution 1 - Xcode

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

enter image description here

enter image description here

Solution 2 - Xcode

Network Link Conditioner is already installed but you can't see it on the Settings App. This worked for me:

  1. Press Command + Space to open spotlight
  2. Search for Network Link Conditioner
  3. It will appear on the result, click on it and it will open Settings app.
  4. Network Link Conditioner is now visible in the Settings App. Open it from the Settings app.

Hope this helps!

Solution 3 - Xcode

+1 to brainray, what worked for me was:

  1. Download new Network Link Conditioner
  2. Replace the old one in /Library/PreferencePanes
  3. Open Network Link Conditioner directly from /Library/PreferencePanes

It now appears in my Settings app

Solution 4 - Xcode

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

Solution 5 - Xcode

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

enter image description here

Install the dmg file, select hardware from installer

enter image description here

select Network Link conditioner prefpane enter image description here

Solution 6 - Xcode

Double clicking the Network Link Conditioner.prefPane in the Additional_Tools_for_Xcode_x.dmg worked for me - it appeared in the Settings after asking for permission to install.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionTamás SengelView Question on Stackoverflow
Solution 1 - XcodeTamás SengelView Answer on Stackoverflow
Solution 2 - Xcodemeow2xView Answer on Stackoverflow
Solution 3 - XcodeLauren CaponongView Answer on Stackoverflow
Solution 4 - XcodeJim BView Answer on Stackoverflow
Solution 5 - XcodeSuraj K ThomasView Answer on Stackoverflow
Solution 6 - XcodePrzemysław WrzesińskiView Answer on Stackoverflow