Recently I have updated my iOS App\'s AFNetworking pods from 3.1.0 to 3.2.0. AFNetworking3.2.0 Having issues like Crashing the app withe bellow error
<
Check out this Pull request: https://github.com/AFNetworking/AFNetworking/pull/3687
It clearly mentions that AFHTTPSessionManager
instance configured with an insecure http
base URL will throw an exception.
To use AFHTTPSessionManager
from 3.2.0
onwards you'll have to switch to a secure https
base URL if you are setting the security policy configured with AFSSLPinningModeCertificate
or AFSSLPinningModePublicKey