Hi Cashfree Team,
I'm currently integrating the iOS SDK (via CocoaPods and also tested SPM) into my app built using Xcode 16.3, which uses:
Apple Swift version 6.1.2 effective-5.10
swiftlang-6.1.2.1.2 clang-1700.0.13.5
Unfortunately, I’m encountering this build error:
Failed to build module 'CashfreePG'; this SDK is not supported by the compiler
(the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)',
while this compiler is 'Apple Swift version 6.1.2 effective-5.10').
It seems like the .xcframework binaries were built using Swift 6.0, which is not forward-compatible with Swift 6.1.2.
Would it be possible for your team to:
Rebuild and release the .xcframework using Swift 6.1.2 / Xcode 16.3
Or publish a version compiled using Swift 5.10.1+ to ensure broader compatibility
This would help developers using the latest stable Xcode to continue using the SDK without any compatibility issues.
Thanks in advance!
Best regards,
Hi Cashfree Team,
I'm currently integrating the iOS SDK (via CocoaPods and also tested SPM) into my app built using Xcode 16.3, which uses:
Apple Swift version 6.1.2 effective-5.10
swiftlang-6.1.2.1.2 clang-1700.0.13.5
Unfortunately, I’m encountering this build error:
Failed to build module 'CashfreePG'; this SDK is not supported by the compiler
(the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)',
while this compiler is 'Apple Swift version 6.1.2 effective-5.10').
It seems like the .xcframework binaries were built using Swift 6.0, which is not forward-compatible with Swift 6.1.2.
Would it be possible for your team to:
Rebuild and release the .xcframework using Swift 6.1.2 / Xcode 16.3
Or publish a version compiled using Swift 5.10.1+ to ensure broader compatibility
This would help developers using the latest stable Xcode to continue using the SDK without any compatibility issues.
Thanks in advance!
Best regards,