NyaMisty / ssl-kill-switch3

Next Generation SSLKillSwitch with much more support!
Other
426 stars 52 forks source link

+[AFSecurityPolicy setPinnedCertificates:]: unrecognized selector sent to class #12

Open cooldanya opened 7 months ago

cooldanya commented 7 months ago

hello! thanks for this great development ❤️

i got some exception:

Exception NSException * "+[AFSecurityPolicy setPinnedCertificates:]: unrecognized selector sent to class 0x10689d820" i also see name = "NSInvalidArgumentException"

the last thing I see in the logs:

=== SSL Kill Switch 3: [verb]  >> Entering new__AFSecurityPolicy_setSSLPinningMode()
=== SSL Kill Switch 3: [verb] AFSecurityPolicy setSSLPinningMode: 0 -> 0
=== SSL Kill Switch 3: [verb]  << Leaving new__AFSecurityPolicy_setSSLPinningMode()
=== SSL Kill Switch 3: [verb]  >> Entering new__AFSecurityPolicy_policyWithPinningMode()
=== SSL Kill Switch 3: [verb] AFSecurityPolicy policyWithPinningMode: 1 -> AFSSLPinningModeNone
=== SSL Kill Switch 3: [verb]  << Leaving new__AFSecurityPolicy_policyWithPinningMode()

versions <= 1.2 work fine, v1.3 and above cause exception

iOS 17.1.2, not jailbroken