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

SDK not building in Xcode 10/iOS 12 #54

Open jorunfa opened 6 years ago

jorunfa commented 6 years ago

The solution to this is pending: https://github.com/kylef/JSONWebToken.swift/pull/114 ☝️relates to https://github.com/kylef/JSONWebToken.swift/issues/116

While we wait for that PR to reviewed, merged and released you can build the SDK by doing: rm -r Pods/JSONWebToken/CommonCrypto/

Edit: To use the latest version you also have to specify to use git version, change: pod 'TDConnectIosSdk' 👇

  1. pod 'TDConnectIosSdk', :git => "git@github.com:telenordigital/connect-ios-sdk.git"
  2. $ pod install
  3. $ rm -r Pods/JSONWebToken/CommonCrypto/
  4. build in Xcode
bandhavivinay90 commented 6 years ago

Any solution for Carthage users? We tried running Carthage and it fails while building JSONWebToken framework

jorunfa commented 6 years ago

I have very little knowledge about Carthage, so I'm not sure what to advice here. The rm -r Pods/JSONWebToken/CommonCrypto/ hack did not work?

I see https://github.com/kylef/JSONWebToken.swift now is using Swift Package Manager, and that the .podspec file needed for Cocoapods has been deleted. So I'm wondering if the community is moving over to that, and considering moving this project over. What's your take on that? I guess it might not resolve Carthage dependencies anyways, without you also moving over your project?

bandhavivinay90 commented 6 years ago

We are trying to convert our project configuration so that we can also take it from Pods. We will keep the ticket updated