MoviesMPP
MoviesMPP copied to clipboard
Can not build with Xcode
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
Have you updated ktor or the gradle plugin in your fork or something?
As you see in the error message something doesn't match. In the native world you always have to use the same Kotlin/Native version as your dependencies.
On Wed, Feb 19, 2020, 12:29 PM huy-t [email protected] wrote:
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
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Syex/MoviesMPP/issues/3?email_source=notifications&email_token=ACOBQ67EIW2XCTDTMXU4IXDRDUJ2BA5CNFSM4KXXNFLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOTNXKQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOBQ675P4CRYR6XX2P365LRDUJ2BANCNFSM4KXXNFLA .
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
Sry but I currently dont have the time to support you.
Am Do., 20. Feb. 2020 um 06:41 Uhr schrieb huy-t [email protected]:
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
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Syex/MoviesMPP/issues/3?email_source=notifications&email_token=ACOBQ63ONI54UBSHWQKA4PDRDYJZTA5CNFSM4KXXNFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMK2BKA#issuecomment-588619944, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOBQ62KWMJLI7KDNRXI2C3RDYJZTANCNFSM4KXXNFLA .