kylef / JSONWebToken.swift

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

Build Failed on Xcode 9 Beta 6 #82

Closed Tim77277 closed 6 years ago

Tim77277 commented 7 years ago

It shows No module found, and CyptoSwift files appears with many syntax error. I have tried to install it on Xcode 8 and it worked fine. But I am trying to use the Apple Music API which requires Xcode 9 Beta 6, can you confirm the error when you have time, please? Thank you

kylef commented 7 years ago

@Tim77277 Are you hitting the same problem by installing JSONWebToken from master? I think that should solve problems with CryptoSwift.

Tim77277 commented 7 years ago

@kylef All I did was put the pod 'JSONWebToken' in my pod file and pod nstall. Should I install a different version?

Tim77277 commented 7 years ago

@kylef I just tried to install from master branch and it fixed the problem.

For people who encounter the same issue as me, can just replace this line in your pod.

pod 'JSONWebToken', :git => 'https://github.com/kylef/JSONWebToken.swift.git', :branch => 'master'

Thanks for the help

jmprice18 commented 7 years ago

@kylef Are there plans to do a release with current master changes? Cannot specify branch or commit in a podspec file.

mkBajaj commented 6 years ago

Is there way to include master branch in private pod spec file , Currently I am using pod 'JSONWebToken' in private pod spec which is gives above same issue in Xcode beta 6. Please help , Thank you.

marcioarantes-ww commented 6 years ago

@kylef any idea when you'll be able to publish master? as @jmprice18 mentioned podspec versioning isn't supported :/

marcioarantes-ww commented 6 years ago

@kylef https://github.com/krzyzanowskim/CryptoSwift/releases/tag/0.7.0 looks like you removed CryptoSwift but in case you still need it.

kylef commented 6 years ago

https://github.com/kylef/JSONWebToken.swift/releases/tag/2.2.0 works with Swift 4.