Skip fails Kotlin, unable to build #141
Replies: 4 comments 7 replies
-
There appear to be two separate issues here. First the checkup failure:
Do you have a custom Another historic cause of this issue is the scenario where the machine migrated from an Intel Mac to an ARM Mac, but the old Intel-specific Homebrew is still installed. You can identify this situation if you have Then the Xcode error:
This sounds like there might be a format error in your
|
Beta Was this translation helpful? Give feedback.
-
I rebooted my Mac, it seems to skip checkup and skip init now works fine, skip test build debug build got android too. |
Beta Was this translation helpful? Give feedback.
-
I think the Xcode issue is just that you need to launch an Android emulator from the Android Studio Device Manager:
Let us know if that helps. And thanks for letting us know about the OpenJDK@22/Kotlin2 issue. There are some known issues with Kotlin 2 and Skip-transpiled code right now, but we should be able to co-exist side-by-side until we work out the issues. I'll look into it today. |
Beta Was this translation helpful? Give feedback.
-
I'm able to build in 0.8.51 |
Beta Was this translation helpful? Give feedback.
-
Hi
I installed skip and ran skip checkup
it fails on Kotlin tests.
skip checkup
[✓] Skip version 0.8.48 (= 0.8.48)
[✓] macOS version 14.5 (> 13.5.0)
[✓] Swift version 5.10 (> 5.9.0)
[✓] Xcode version 15.4 (> 15.0.0)
[✓] Xcode tools SDKs: 7
[✓] Homebrew version 4.3.3 (> 4.1.0)
[✓] Gradle version 8.8 (> 8.6.0)
[✓] Java version 22.0.1 (> 21.0.0)
[✓] Android Debug Bridge version 1.0.41 (> 1.0.40)
[✓] Android Studio version: 2023.3
[✓] Android tools SDKs: 7
[✓] Resolve dependencies (12.3s)
[✓] Build hello-skip (10.34s)
[✓] Test Swift (5.53s)
[✗] Test Kotlin (2.49s)
[✓] Archive iOS ipa (18.88s)
[✓] Assemble HelloSkip-release.ipa 37 KB
[✓] Verify HelloSkip-release.ipa 37 KB
[✗] Assembling Android apk (9.32s)
[✗] Verify HelloSkip-release.apk: The file “app-release-unsigned.apk” couldn’t be opened because there is no such file.
[✓] Check Swift Package (0.14s)
[✗] Skip 0.8.48 checkup failed with 3 errors
Output logged to: /tmp/skip-checkup-2024-06-09T12:11:51Z.txt
See https://skip.tools/docs/faq and https://community.skip.tools for help
I ran skip checkup --verbose its log file is here:
skip-checkup-2024-06-09T11:50:54Z.txt
I did skip init as in document, it created project but building it in Xcode fails:
Build HelloWorld_2024-06-09T17-22-59.txt
Beta Was this translation helpful? Give feedback.
All reactions