一直在使用​​Charles​​​,本来打算这等未来的神器fiddler Everywhere​成熟以后就替换掉​​Charles​​,没想到它提前故障了。

报错内容如下:

Automatic macOS Proxy ConfigurationFailed to install helper: The operation couldn't be completed. (CFErrorDomainLaunchd error 9.)复制代码

Charles报错Failed to install helper解决方案_性能测试

在操作本机代理的时候会提示需要设置本机代理

Charles报错Failed to install helper解决方案_配置项_02

选择了​​Grant Privileges​​选择之后会提示。

刚开始还以为是因为权限的问题,或者本机代理默认设置的原因,后来发现都不是。再联想近期所在的配置更改,突然想到我禁止过一个自动配置的启动程序,找到后发现正是​​Charles​​的自动代理配置功能。

软件内截图如下:

Charles报错Failed to install helper解决方案_公众号_03

配置项路径:​​/Library/LaunchDaemons​​​配置项名称:​​com.xk72.charles.ProxyHelper.plist​

找到原文件后,内容如下:

Automatic macOS Proxy Configuration

Failed to install helper: The operation couldn't be completed. (CFErrorDomainLaunchd error 9.)

终于还是被我找到了,这是配置​​proxy​​的程序。

启动项改成如下配置即可:

Charles报错Failed to install helper解决方案_配置项_04

重启​​Charles​​,一切OK


  • 公众号FunTester 欢迎关注、交流,禁止第三方擅自转载。