kylef / JSONWebToken.swift

Swift implementation of JSON Web Token (JWT).
http://jwt.io
BSD 2-Clause "Simplified" License
763 stars 226 forks source link

So it doesn't work with Swift 5? #130

Open mungbeans opened 2 years ago

mungbeans commented 2 years ago

Getting some errors trying to use this with Swift 2

For example let rem = input.characters.count % 4 // Characters is unavailable error

defer { context.deallocate(capacity: 1) } // deallocate(capacity:)isunavailableerror