kylef / JSONWebToken.swift

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

Not all classes being downloaded with the Pod #58

Closed JaapWeijland closed 7 years ago

JaapWeijland commented 7 years ago

I installed JWT through cocoapods. pod 'JSONWebToken'. The example tells me to use the ClaimSet class, which isn't downloaded. The only classes downloaded are Base64, Claims, JWT, and Decode. Xcode doesn't recognize any other classes mentioned in the guides (makes sense, since they don't appear in my pod workspace either).

kylef commented 7 years ago

@JaapWeijland Which version did you install with CocoaPods?

JaapWeijland commented 7 years ago

Dont know, how can I see that? I just installed by adding pod 'JSONWebToken'. Found out just now that installing this with this line "pod 'JSONWebToken', :git => 'https://github.com/kylef/JSONWebToken.swift.git'" does work.

SpacyRicochet commented 7 years ago

Just encountered the exact same issue. Mostly likely cause is your CocoaPods repository cache not being up to date.

For anyone coming here in the future, try the following;

> pod repo update
> pod install