使用教程参考:http://www.cnblogs.com/TankXiao/archive/2012/02/06/2337728.html#request
一、首先,在Mac下安装fiddler时,需要先安装mono
mono下载地址:https://www.mono-project.com/download/stable/
安装完成后,执行命令:
/Library/Frameworks/Mono.framework/Versions/<Mono Version>/bin/mozroots --import --sync
<Mono Version>:为mono版本号,可以cd进入查看
安装完成成功后,提示如下:
Downloading from 'https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... 150 new root certificates were added to your trust store. Import process completed.
二、其次,下载fiddler
在fiddler官方网站下载,地址:https://www.telerik.com/download/fiddler
下载完成后,把.zip包解压缩到非中文路径下。
运行输入命令行:
mono Fiddler.exe
但是提示报错:
================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================
参考网址解决问题:https://blog.csdn.net/u010789532/article/details/80771807
# 本地路径
cd Desktop/mine/install/fiddler-mac/ # 运行Fiddler mono --arch=32 Fiddler.exe
启动时间较长,多等一会。
启动成功!!!