datatheorem / TrustKit

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

Trustkit not building on Xcode 14.3 #298

Closed Sjenk closed 1 year ago

Sjenk commented 1 year ago

Starting from xcode 14.3 building trustkit produces the following issue: "A function declaration without a prototype is deprecated in all versions of C" The solution seems to be adding void to the following functions NSURLSessionConfiguration *ephemeralNSURLSessionConfiguration() { in configuration_utils at line 102 and to static NSMutableDictionary *swizzledClassesDictionary(void){ In RSSWizzle line 270

pawisoon commented 1 year ago

I confirm this fixes the build of the project

aj-dt commented 1 year ago

This is now live in v3.0.2. Closing as fixed.