简体   繁体   中英

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:

  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!

+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

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 在此输入图像描述

双击Additional_Tools_for_Xcode_x.dmgNetwork Link Conditioner.prefPane为我工作 - 在请求安装权限后它出现在设置中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM