SciProgCentre/kmath

kmath-core for iOS

iliamikulik opened this issue · 10 comments

Hello!

We're working on kotlin MPP library for mobile platforms, and we'd like to use your kmath library in our project. To be able to use it properly we need it to support iOS native targets such as iosX64 and iosArm64.

I'm wondering if you have plans to implement iosX64 and iosArm64 target for your library anytime soon? As I get it, you already have a macosX64 target.

I cloned the project and added these targets manually, and it was successful. But I see it should be done in ru.mipt.npm.gradle project, which might cause problems since this gradle plugin is also used in other projects.

We'd like to offer our help in solving the issue and make a pull request with changes in this project or in ru.mipt.npm.gradle.

I don't see any restrictions, except the build time. Consider adding these targets into https://github.com/mipt-npm/gradle-tools

Waiting for merge of SciProgCentre/gradle-tools#37. After that, Github Actions script will be modified a bit, and the next dev release will support iOS.

Yep. @CommanderTvis is a hero. It works. I need some fiddling with signing to publish it to central. It will be available in the next patch release.

Hi! Sorry for the late answer, but I want to thank you so much for the work done! I checked it works

Hey, hope you're doing great!

We have been using your 0.3.1-dev-10 dev version for quite a while because some iOS targets are still missing in the latest release version.

But since today we can't download the lib anymore as it requires authorization. Is there any chance that you could publish the release version with all iOS targets included?

@and-marsh sorry, I've missed your comment (please don't hesitate to contact me on Kotlin slack if I am not responding withing two days). The problem is probably caused by discontinuing our hosting in Space. I modify our proxy at https://maven.sciprog.center/#/ to properly access old dev builds, so you can try to download dependencies again and check if it works. You must use https://repo.kotlin.link repository to access them. If it works, the dependencies will be cached so you can use it. Also please check if 3.1 version is OK for you. It includes at least some iOs artefacts.

I can't re-publish 3.x artefacts, but there will be a 4.0 version soon and I will publish it both in our repository and on mavenCentral.

I am not sure that proxying works properly. If it does not work by choosing repo.kotlin.link as a repository, could you tell me which artefacts do you need? I can try to extract them manually.

@and-marsh never mind, it DOES work. I use wrong version. So just setting repo.kotlin.link as a repository should do the trick. But 0.3.1 is also published for all relevant targets.

Hey, thanks for looking into this!

Seems I was looking in the wrong Maven repo all this time. I was trying downloading kmath from here, and it's obvious some of the targets are missing there, while I should have checked out the repo.kotlin.link instead.

The 0.3.1 from repo.kotlin.link works for me just fine.

Thank you!