-
Notifications
You must be signed in to change notification settings - Fork 6
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
Issue building for iOS - atomicfu #65
Comments
Unfortunately, I don't have a sample project at the moment. Adding one to the repo would probably be a good idea though. As far as the issue itself, nothing stands out at first glance. I'll take a closer look later today. One thing I might suggest is moving to Gradle 6.x, if possible, since there have been various fixes related to Gradle Metadata, which was also moved out of preview. |
Thanks for the reply! I updated the branch mentioned above to use gradle 6.0.1 and see the same issue. Here's the new run: https://github.com/liujoshua/KMPDependenciesTest/runs/690112034?check_suite_focus=true |
I saw the new issue you created to add sample apps. The repro branch I linked to was a freshly generated Kotlin Native project in IntelliJ 2020.1. If I can fix the build, I'd be happy to start a new project and turn it into a walk through of how to bootstrap a iOS + Android with Island Time |
That would be awesome! It looks like Island Time's dependency on atomicfu isn't getting published to Maven correctly. I'll try to get that fixed soon and fire off a new release. In the meantime, you can work around it by adding the dependency manually to commonTest: sourceSets["commonTest"].dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
// Workaround for https://github.com/erikc5000/island-time/issues/65
implementation("org.jetbrains.kotlinx:atomicfu-common:0.14.2")
} |
Adding atomicfu to commonTest didn't resolve the issue. Thanks for taking a look. I'll check back for a new release in a few days |
Can confirm that upgrading from 0.2.1 to 0.2.2 fixed the issue for me! Thank you |
I have been trying to fix this build error on iOS item and finally narrowed it down to island-time. I added Kotlin atomicfu and made various other attempts to fix it
Is there a sample project I could look at?
Here is a branch and build for repro
Thank you for making this library, hope to use it
The text was updated successfully, but these errors were encountered: