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

Can not build with Xcode #3

Open
huy-t opened this issue Feb 19, 2020 · 3 comments
Open

Can not build with Xcode #3

huy-t opened this issue Feb 19, 2020 · 3 comments

Comments

@huy-t
Copy link

huy-t commented Feb 19, 2020

Task :app:linkDebugFrameworkIos
w: skipping /Users/username/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosx64/1.2.0-rc/20fa9983553c1e1a9c324bd4e0cd2cfbbbad3de0/ktor-client-serialization.klib. The abi versions don't match. Expected '[9]', found '8'
w: The compiler versions don't match either. Expected '[1.3]', found '1.2.1-release-9743'
e: Could not find "/Users/username/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosx64/1.2.0-rc/20fa9983553c1e1a9c324bd4e0cd2cfbbbad3de0/ktor-client-serialization.klib" in [/Users/username/Desktop/mpp/MoviesMPP, /Users/username/.konan/klib, /Users/username/.konan/kotlin-native-macos-1.3/klib/common, /Users/username/.konan/kotlin-native-macos-1.3/klib/platform/ios_x64].

Task :app:linkDebugFrameworkIos FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:linkDebugFrameworkIos'.

Process 'command '/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
 

JDK 13.0.1
Xcode: 11.3.1

@StefMa
Copy link

StefMa commented Feb 20, 2020 via email

@huy-t
Copy link
Author

huy-t commented Feb 20, 2020

Could you help to share your dependencies?
I did not change anything from your repo except TMDb API_KEY

ext.kotlin_version = '1.3.40'

ext.versions = [
        "ktor" : "1.2.0-rc",
        "serialization" : "0.11.0",
        "coroutines" : "1.2.1",
        "klock" : "1.4.0"
]

distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-all.zip

@StefMa
Copy link

StefMa commented Feb 21, 2020 via email

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