Jeff Sanders Technical Blog

I am a Microsoft employee that has worked on all aspects of the Web Stack for a long time. I hope these blogs are useful to you! Use this information at your own risk.


<< Go Back

Usinginstalling Fiddler On Mac Os

- 08 Feb 2018

I could not find a good walkthrough so here is one for you.  Disclaimer:  This is on the latest OS and Latest version of Fiddler Beta

Steps

Install Mono – You can do this many ways but I wanted to do Xamarin development so I downloaded and installed Visual Studio for Mac and installed Mono as part of that installation:

https://www.visualstudio.com/vs/visual-studio-mac

Download Fiddler – https://www.telerik.com/download/fiddler/fiddler-osx-beta

You did step 1 of the instructions on this page already if you installed Visual Studio.

Move the ‘fiddler-mac’ folder somewhere you have write access to.  I chose my Applications Folder.  Open in Finder:

capture20180208162842248

and then just drag and drop it into Applications:

capture20180208162949169

And here it is!

 capture20180208163026081

Next find the Terminal app in LaunchPad and run it:

capture20180208163159656

Navigate to the Applications folder: cd /Applications/fiddler-mac/

Pre the instructions I ran this:  mono fiddler.exe

And got this error:

WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all

Stacktrace:

  at <0xffffffff>

  at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <36fbc38531724d82b10aef6ebafea6e9>:0

And this error because I never ran/accepted the xcodebuild license :  Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

To fix this I first ran: sudo xcodebuild –license

and then used the correct 32 bit command to run mono and fiddler: mono –arch=32 fiddler.exe

You next have to allow changes to your networking so you will be prompted:

capture20180208164015601

And Fiddler will start running!

When you start capture, again you need to enter your password to reset the proxy.

##

Conclusion

Pretty simple but like I said, I had no luck finding a good workaround and the fiddler instructions did not have the sudo xcodebuild –license, nor the **mono –arch=32 fiddler.exe** commands

Drop me a note if you found this useful!

<< Go Back