TrustKit
Easy SSL pinning validation and reporting for iOS, macOS, tvOS
...Sane implementation by pinning the certificate's Subject Public Key Info, as opposed to the certificate itself or the public key bits. Reporting mechanism to notify a server about pinning validation failures happening within the App, when an unexpected certificate chain is detected. This is similar to the report-uri directive described in the HPKP specification. The reporting mechanism can also be customized within the App by leveraging pin validation notifications sent by TrustKit.