ClaySolutions / ClaySDK

This SDK for iOS contains the most up-to-date frameworks for integrating Mobile Key technology into your own iOS applications.
https://saltoks.com/developers/connect/mobile-sdk-introduction/
MIT License
1 stars 1 forks source link

Unable to install ClaySDK with Xcode 12 #3

Closed franconob closed 3 years ago

franconob commented 4 years ago

Today I have updated my Xcode to v12. This latest version ships with Swift 5.3, so using the pod to install the sdk throws an error now when my project is compiled. I'm trying to use carthage instead, but I'm getting the following error:

# carthage update --platform iOS
*** Downloading ClaySDK.framework binary at "1.8.0"

***  Skipped installing ClaySDK.framework binary due to the error:
    "Incompatible Swift version - framework was built with 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) and the local version is 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)."
    Falling back to building from the source
*** Skipped building ClaySDK due to the error:
Dependency "ClaySDK" has no shared framework schemes for any of the platforms: iOS

My Cartfile contents: github "ClaySolutions/ClaySDK" "1.8.0"

Thanks in advance

lgenzelis commented 4 years ago

Same here, XCode v12 does not seem to work with the SDK ☹️

ndlonghi commented 4 years ago

Yes, same happening here. Help would be really useful.

jakov-clay commented 4 years ago

New version with Swift 5.3 support will be available early next week

franconob commented 4 years ago

Good news, thanks!

jakov-clay commented 4 years ago

Guys I'm reopening this issue for visibility. This part is almost automated process but at this point we have some problems with dependencies so it might take some time before we release it. Will keep you informed.

jakov-clay commented 4 years ago

Carthage build is there but CocoaPods CDN is down so I can't push podspec until that is resolved

krudos commented 4 years ago

you can temporary add this on the beggining of your podfile to make cocoapods work source 'https://cocoapods-cdn.netlify.app/'

jakov-clay commented 4 years ago

Since I was not able to push podspec to trunk that won't be enough. Follow this comment to fix your pod install https://github.com/CocoaPods/CocoaPods/issues/10078#issuecomment-696481185 To install latest version of ClaySDK use it like this: pod 'ClaySDK', :git => 'https://github.com/ClaySolutions/ClaySDK.git'

jakov-clay commented 4 years ago

New version of ClaySDK is now available and via CocoaPods pod 'ClaySDK', '1.8.1' or run pod update

franconob commented 4 years ago

Awesome, thanks for the hard work!

mlepicki commented 4 years ago

For anyone having an issue with running app with ClaySDK 1.8.1 on simulator: I had to configure excludes in project settings & Podfile to make it work. Here's post on SO where I have found that solution: https://stackoverflow.com/a/63955114/1267592

lgenzelis commented 4 years ago

Thanks for taking care of this! :)