datatheorem / TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.
MIT License
2k stars 360 forks source link

No visible @interface for 'TSKSPKIHashCache' declares the selector 'getPublicKeyDataFromCertificate_legacy_ios:' #288

Closed rad-chomik closed 1 year ago

rad-chomik commented 1 year ago

Hi Team

After updating the deployment target of our app to 11.0 I am getting that kind of error, see the image attached

Screenshot 2022-11-10 at 10 59 18 am

This error happens only in this one line that function does not throw errors in other lines( as you can see on the image it is called in two more places but causing error just in this one)

I'm on Monterey 12.6 macOS using Xcode Version 14.0.1 (14A400)

Any suggestions on how can I fix this?

Kindest regards Rad

EthanArbuckle commented 1 year ago

You appear to be running an old version of the SDK. Can you try updating to the latest release?

touchyvivace commented 1 year ago

i've faced the same issues did you solved ? @rad-chomik