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

MacOS compileKotlinIosArm64 Fails #2269

Closed
gmitch215 opened this issue Jul 13, 2024 · 13 comments
Closed

MacOS compileKotlinIosArm64 Fails #2269

gmitch215 opened this issue Jul 13, 2024 · 13 comments

Comments

@gmitch215
Copy link

Trying to build a Xcode project using the app. Using a Macbook Air on an Intel chip.

> Task :compileKotlinIosArm64 FAILED
e: KLIB resolver: Could not find "com.soywiz.korge:korlibs-serialization-yaml" in [/Users/gamer/.../project, /Users/gamer/.konan/klib, /Users/gamer/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/common, /Users/gamer/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/platform/ios_arm64]

Transformed libraries look like this:

Click to View

image

Using Korge v6.0.0-alpha9.

Reproduce: Build a simple app using the specified version, then use targetIos and attempt to build the project.

@soywiz
Copy link
Member

soywiz commented Jul 13, 2024

serialization-yaml is not referenced anymore on master, o I guess this will be fixed in the next version. Let's retry after the next release

@gmitch215
Copy link
Author

@soywiz When will that be?

@soywiz
Copy link
Member

soywiz commented Jul 16, 2024

Right now I have been working on korlibs longstanding issues related to sound, locking and threading. I expect to finish it soon, likely before the end of the week. Then I will make a release, will check iOS and Android that have not been tested in detail in alpha versions, and will update all the kprojects from the store. ETA something between the end of the week and next week, but can't promise on that since it depends on issues I might find.

@soywiz
Copy link
Member

soywiz commented Jul 22, 2024

Fixed in korlibs-6.0.0-beta1

@soywiz soywiz closed this as completed Jul 22, 2024
@gmitch215
Copy link
Author

gmitch215 commented Jul 22, 2024

@soywiz Did you make a release on this repository?

* What went wrong:
Plugin [id: 'com.soywiz.korge', version: '6.0.0-beta1'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.soywiz.korge:com.soywiz.korge.gradle.plugin:6.0.0-beta1')
  Searched in the following repositories:
    MavenLocal(file:~/.m2/repository/)
    MavenRepo
    Google
    Gradle Central Plugin Repository

Edit: I see #2272 is still open. I think this should be open until it gets merged.

@soywiz soywiz reopened this Jul 22, 2024
@soywiz
Copy link
Member

soywiz commented Jul 22, 2024

Yes, I triggered a release, but it seems that it didn't completed successfully on the first try. Central is not working properly for me.

I have reopened the issue. korlibs-all 6.0.0-beta1 is already on central.

@gmitch215
Copy link
Author

@soywiz When will the issue for central fix?

@gmitch215
Copy link
Author

Also, it still doesn't work. I cloned the repository, ran ./gradlew publishToMavenLocal, and used the local version, but I still et this:

> Task :compileKotlinIosArm64 FAILED
e: KLIB resolver: Could not find "com.soywiz.korge:korlibs-serialization-yaml" in [~/gmitch215/../project, ~/.konan/klib, ~/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/common, ~/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/platform/ios_arm64

@soywiz
Copy link
Member

soywiz commented Jul 23, 2024

Also, it still doesn't work. I cloned the repository, ran ./gradlew publishToMavenLocal, and used the local version, but I still et this:

> Task :compileKotlinIosArm64 FAILED
e: KLIB resolver: Could not find "com.soywiz.korge:korlibs-serialization-yaml" in [~/gmitch215/../project, ~/.konan/klib, ~/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/common, ~/.konan/kotlin-native-prebuilt-macos-x86_64-2.0.0/klib/platform/ios_arm64

How can I reproduce this? Operating System, and if you have a project I can use to reproduce the problem

@gmitch215
Copy link
Author

gmitch215 commented Jul 23, 2024

@soywiz
A simple KorGE project running targetIos on any supported Macbook should work. If not, I can send some project files.

@soywiz
Copy link
Member

soywiz commented Jul 24, 2024

I have been a few days trying to properly publish 6.0.0-beta1, but it seems that sonatype/central is unstable. So I'm doing now something I was been deferring: I'm going to split the libraries in smaller repositiories and publish them independently. I'll come back when done.

@gmitch215
Copy link
Author

@soywiz Any updates? I see that it's now properly on central.

@gmitch215
Copy link
Author

Seems not to persist anymore.

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

No branches or pull requests

2 participants