FIXED: Inspector breaks HTTPS (and other cryptography) on iOS

SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai
edited November 2015 in Workbooks & Inspector

UPDATE: This is now fixed in Xamarin.iOS 9.2.1.51, available in the stable, beta, and alpha channels.

We've received a lot of community testing in the last week along with great feedback, including several very helpful bug reports.

There is one bug in particular we wanted to make sure people are aware of. By installing the Inspector add-in you may cause your iOS apps to crash or fail in other important ways if they are trying to access HTTPS resources (or doing other cryptographic things).

Note that it doesn't matter if you click the "Inspect" button. As described in the release notes, in order to enable dynamic code evaluation in your app, it is necessary for us to swap out core assemblies with versions that include support for the System.Reflection.Emit APIs we need. And this happens whenever an eligible iOS app is launched, even if you don't intend to inspect it on that run.

Android, Mac, and WPF are unaffected. But if you are an iOS developer that depends on HTTPS working, please uninstall or disable the Inspector add-in for now (you'll need to restart Xamarin Studio after doing so). I'll send out another update when this is fixed.

Thanks for testing!

Posts

  • SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai

    This is now fixed in Xamarin.iOS 9.2.1.51, available in the alpha and beta channels.

  • abockabock USXamarin Team, Insider Xamurai

    As of today, the fix is now in the stable channel as well as part of the Xamarin 4 release.

This discussion has been closed.