telenordigital / connect-ios-sdk

Docs 📒👉
https://telenordigital.github.io/id-docs.telenordigital.com/integrate-ios-sdk.html
Apache License 2.0
9 stars 8 forks source link

JSONWebToken need to update CryptoSwift to 0.5.2 (Swift 2.2,2.3 Version) #30

Closed thihaaung6245 closed 7 years ago

thihaaung6245 commented 7 years ago

This connect SDK which use JSONWebToken need to update CryptoSwift to 0.5.2. Please take a look

screenshot 2016-11-08 12 04 13

I want to use CryptoSwift 0.5.2. But due to these circumstances,I can't update it.Can you set your JSONWebToken which used at connect SDK to Swift 2.2,2.3 CryptoSwift.

If I am doing something wrong, can you help me out?

Thanks

jorunfa commented 7 years ago

Hi :). We're planning on updating the CryptoSwift package used by the SDK soon. I'll get back to you soon.

jorunfa commented 7 years ago

Unfortunately we are using JSONWebToken library version 1.5.0, which depends on CryptoSwift version 0.4.1. As far as I've found there isn't a way to use two different versions of the same library, it seems, and we can't change which version the CryptoSwift library depends upon.

There is a newer version of the JSONWebToken that uses a newer version of CryptoSwift. However, this is Swift version 3, so this will not work with the current version of the CONNECT iOS SDK.

We will be updating our SDK to Swift version 3 in the future, which means we will also update the CryptoSwift version. However, we can't do this until all the packages we depend upon are also updated to Swift 3. Hopefully this will be soon, as I believe the last remaining library we are depdendent has a Swift 3 version in development, but has not yet realeased this. When it is released we can also begin migrating to Swift 3.

I'll close this issue, but feel free to ask further questions and make new issues, of course :).