Skip to content

➕ Add iosSimulatorArm64 target, introduced in KMM 1.5.30 #220

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

Merged
merged 5 commits into from
Sep 23, 2021

Conversation

pauldavies83
Copy link
Contributor

➕ Add iosSimulatorArm64 target, introduced in KMM 1.5.30
⬆️ Bump kotlinx-coroutines to 1.5.2 (which adds the same targets)
⬆️ Bump kotlinx-serialization to 1.3.0-RC (which adds the same targets)

This should resolve #218 , as the iOS arm64 simulator target will now output the correct framework slice for that device.

pauldavies83 and others added 2 commits September 17, 2021 14:02
⬆️ Bump kotlinx-coroutines to 1.5.2 (which adds the same targets)
⬆️ Bump kotlinx-serialization to 1.3.0-RC (which adds the same targets)
@pauldavies83
Copy link
Contributor Author

@Reedyuk is this something you would be able to review? 🙏

@@ -44,6 +44,13 @@ android {
}
}

val KonanTarget.archVariant: String
get() = if (this is KonanTarget.IOS_X64 || this is KonanTarget.IOS_SIMULATOR_ARM64) {
"ios-arm64_i386_x86_64-simulator"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I understand it, this slice should be correct for x86 and arm simulators

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 This doesn't build locally - the issue appears to be at the :firebase-app:cinteropFirebaseCoreIosArm64 task, which I don't quite understand how to get a verbose output from as it runs in another Java process (I'm probably past my level of understanding here 😅).

I've pushed the changes anyway in case there is something obvious I have missed? @Reedyuk

Copy link
Contributor

@tiagonuneslx tiagonuneslx Sep 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pauldavies83 It compiles in my machine. I've had that error happen to me a number of times because of cinterop tasks caching incorrectly. Try Clean Project, it usually fixes it :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Hmmm, I get the same error after a clean...

./gradlew clean build --no-build-cache

I found an issue from reading the CI log anyway, which I've fixed here

@Reedyuk Reedyuk merged commit 93df75c into GitLiveApp:master Sep 23, 2021
@MartinRajniak
Copy link

Could you please create new release with this?

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

Successfully merging this pull request may close these issues.

Error compiling kotlin for ios "Could not resolve dev.gitlive:firebase-auth:1.3.1."
4 participants