ios-sdk
ios-sdk copied to clipboard
Errors encountered while syncing the project with Gradle files for the KMP (Android/iOS)
cocoapods {
version = "1.10.1"
summary = "Description for the Shared Module"
homepage = "Link to the Shared Module homepage"
ios.deploymentTarget = "15.0"
podfile = project.file("../iosApp/Podfile")
pod("PhraseSDK") {
source = git("https://github.com/phrase/ios-sdk")
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
Added to the shared build.gradle file, but I am encountering errors. I am using Xcode 16, Android Studio 2024.2.1, Gradle 8.9, and Kotlin 2.0.20.
But it works fine in Xcode 15.4.
Thank you in advance for your time on this.
Hi @SagarGang, XCode 16 and Swift 6 are not supported yet by the SDK. We will add support for it soon but in the meantime you would have to use XCode 15
@theSoenke thanks.
Hi @SagarGang, Swift 6 has been added with version 5.0 of the SDK. Please also note that we currently do not officially support KMP. It might already work but it hasn't tested by us