yourkarma / JWT

A JSON Web Token implementation in Objective-C.
MIT License
350 stars 107 forks source link

Cleanup availability warnings and fix deployment targets. #220

Open lolgear opened 4 years ago

lolgear commented 4 years ago

It seems that SecKeyAlgorithm ( on which whole library depends ) is introduced in fresh apple OSes.

typedef CFStringRef SecKeyAlgorithm CF_STRING_ENUM
__OSX_AVAILABLE(10.12) __IOS_AVAILABLE(10.0) __TVOS_AVAILABLE(10.0) __WATCHOS_AVAILABLE(3.0);

So, we need to raise deployment targets and cleanup availability warnings.