Support iOS Simulator Arm64 Target
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 542
- Forks
- 101
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 2
Description
Hello! I tried using the runtime artifact in a project that I recently started working on. Since I'm using a simulator on an M1 MacBook, I'll need to be able to build against the iosSimulatorArm64 target (at least, to be able to run the project in the simulator).
I'm thinking the target can simply be added to the build.gradle file:
def iosTargets = [
iosArm64(),
iosSimulatorArm64(),
iosX64(),
]
iosTargets.each { target ->
target.binaries {
framework {
baseName = "Thrifty"
}
}
target.compilations.main.cinterops {
KT62102Workaround {}
}
}
Edit: realizing that the style change above is against the contributions guidelines but I think it still gets the point across. :) Otherwise:
iosSimulatorArm64 {
binaries {
framework {
baseName = "Thrifty"
}
}
compilations.main.cinterops {
KT62102Workaround {}
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in build.gradle and inspect the existing iOS targets and their framework and cinterop configuration. Add the iosSimulatorArm64 target consistently with the current setup, then verify that the runtime artifact can be built for an M1 simulator.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, kotlin
- Domain
- build-system, mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100