-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClaySDK 1.11.1 and swift 5.8 #16
Comments
Hi @jakov-clay, any update on this please? |
@dgalitsyn I don't have same issue. What might help you is adding this to your Podfile:
If that does not help let's see if we can do something else. There is a new version of SDK distributed via Gitlab but it requires authentication. If this does not help we can try to move you to that new version |
Hi, Thanks for you reply. Just tried this solution and I still get the same error, actually I get an additional error regards Virgil Crypto: I've installed the pod via pod install, not sure how to get it from gitlab (i am assuming the podfile pulls from github), but willing to try this solution. Please let me know. Regards, Denis. |
Is your minimum deployment target 11 or 13?
can you try setting it like this if you support iOS 13. |
Our minimum target is ios13. I think we have tried the BUILD_LIBRARY_FOR_DISTRIBUTION = YES previously and it made the project not compile at all with countless other errors popping up. Thank you for your help, I will email saltoks support and take it from there. |
@jakov-clay I raised an issue on gitlab, could you take a look. I think the problem is with the virgil libraries and xcode 14.3. Can you see if you can replicate the issues please? Thanks |
@dgalitsyn I'll take a look, sorry for waiting |
Ran into the same issue as well, and the config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' fix isn't cutting it for us. Are there any news on it? Flutter app here, ClaySDK (1.11.1). Flutter always wants to use Swift 5.8 for some reason and can't get rid of Swift Compiler Error (Xcode): Failed to build module 'ClaySDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)', while this compiler is 'Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK. `import UIKit @UIApplicationMain
} ` |
@TudorAxinte to have all the latest update please move to ClaySDK 2. You need to contact [email protected] for auth token, docs can be found here: https://gitlab.com/claysolutions/public/clay-sdk/-/wikis/home |
Hi,
Trying to import the SDK into my project (xcode 14.3) and I am getting this error:
Failed to build module 'ClaySDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK.
I am not an ios dev, so not sure how to proceed from here. I have tried setting the Build Libraries for Distribution = YES, however this break other libraries (like Stripe and a couple of others) however it fixes this problem. So im kind of stuck. Is it possible to compile with swift 5.8?
Cheers, Denis.
The text was updated successfully, but these errors were encountered: