kylef / JSONWebToken.swift

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

Use carthage to install #25

Closed xandros6 closed 8 years ago

xandros6 commented 8 years ago

I try Carthage to install this module using in cartfile:

github "kylef/JSONWebToken.swift"

but on carthage update --platform iOS

I receive the error:

Dependency "JSONWebToken.swift" has no shared framework schemes for any of the platforms: iOS

Can you help me? Thanks.

ikesyo commented 8 years ago

Carthage support is added in #21 but a new release including it is not yet released. You can use by specifying branch as github "kylef/JSONWebToken.swift" "master" for now.

xandros6 commented 8 years ago

OK, thanks, now I receive:

Could not pick a version for github "krzyzanowskim/CryptoSwift", due to mutually incompatible requirements:
    "0.2.3"
    "0.2.2"

Because my project depends from CryptoSwift but 0.2.3. What do you think to modify your "cartfile" and support next version of CryptoSwift using version requirement ~> 0.2.2 ?

xandros6 commented 8 years ago

For now I force my requirement of CryptoSwift to 0.2.2 but the output is the same:

Dependency "JSONWebToken.swift" has no shared framework schemes for any of the platforms: iOS

with:

*** Checking out JSONWebToken.swift at "5771d9847f0119d4151cdd197115401aa8c99aeb"

ikesyo commented 8 years ago

I'm not sure why, but JWT.xcodeproj only have Mac target, does not support iOS target.

xandros6 commented 8 years ago

Sorry, can't I use on iOS? Or is only a misconfiguration?

ikesyo commented 8 years ago

I've submitted a PR to fix this #26.

xandros6 commented 8 years ago

Tested with your (ikesyo) fork and "carthage-other-platforms" branch, all OK, also CryptoSwift dependency!

Thanks!

below commented 7 years ago

Should this be fixed as of now?