Andrew Dunbar
04/21/2023, 6:41 AMrunDebugExecutableMacosArm64
and runDebugExecutableMacosX64
that we can use pass to ./gradlew
built in or defined in scripts somewhere? I’m on an M1 mac so can run arm64 and x64 binaries but using these with gradlew the first bulds and runs while the second only builds but then skips the run part. I think something somewhere is matching the arch of my system with the arch of the binary and saying no. I want to see if I have access to that logic to fix it or if it’s part of the system.
I’ve hunted on Google and GitHub and getting nowhere.
Quite possibly related to this bug I posted on Stack Overflow two months ago: https://stackoverflow.com/questions/75562947/kotlin-native-project-builds-but-doesnt-run-from-intellij-idea-on-m1-mac-after
maybe KotlinTargetContainerWithPresetFunctions.kt
?Andrew Dunbar
04/22/2023, 6:18 AM.kts
Andrew Dunbar
04/22/2023, 6:33 AM