Skip to content
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

Errors encountered while syncing the project with Gradle files for the KMP (Android/iOS) #80

Open
SagarGang opened this issue Oct 21, 2024 · 2 comments

Comments

@SagarGang
Copy link

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.

Screenshot 2024-10-21 at 3 54 58 PM

But it works fine in Xcode 15.4.

Thank you in advance for your time on this.

@theSoenke
Copy link
Contributor

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

@SagarGang
Copy link
Author

@theSoenke thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants