You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a developer uses an Xcode version that is different than the Xcode was used to compile AdyenPOS Xcode generates a compile time error. For example. the next error is from Xcode 16.2
Failed to build module this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)', while this compiler is 'Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)'). Please select a toolchain which matches the SDK.
To Reproduce
Steps to reproduce the behavior:
Create an empty project with Xcode 16.2 (the latest version)
Add a swift package package(url: "https://github.com/Adyen/adyen-pos-mobile-ios-test", branch: "main")
Add import AdyenPOS to a swift file, for example it can be AppDelegate.swift
Try to compile.
See an error
Failed to build module this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)', while this compiler is 'Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)'). Please select a toolchain which matches the SDK.
Expected behavior
By the AdyenPOS manifest, any Xcode version that supports swift-tools-version:5.6 needs to have possibility to compile AdyenPOS without compile time errors. For swift-tools-version:5.6 it needs to be Xcode 15.0 - Xcode 16.2
Screenshots
Desktop (please complete the following information):
OS: Mac
Version [15.3]
Xcode: 16.2
Smartphone (please complete the following information):
Device: [iPhone 16 pro]
OS: [iOS18.2]
The text was updated successfully, but these errors were encountered:
Describe the bug
If a developer uses an Xcode version that is different than the Xcode was used to compile
AdyenPOS
Xcode generates a compile time error. For example. the next error is from Xcode 16.2To Reproduce
Steps to reproduce the behavior:
package(url: "https://github.com/Adyen/adyen-pos-mobile-ios-test", branch: "main")
import AdyenPOS
to a swift file, for example it can beAppDelegate.swift
Expected behavior
By the
AdyenPOS
manifest, any Xcode version that supportsswift-tools-version:5.6
needs to have possibility to compileAdyenPOS
without compile time errors. Forswift-tools-version:5.6
it needs to be Xcode 15.0 - Xcode 16.2Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: