https://kotlinlang.org logo
#redux
Title
# redux
d

Dan Nesfeder

02/01/2022, 9:45 PM
Hey y'all 👋 ran into some build issues earlier today with a KMM project + redux running on Apple silicon https://github.com/reduxkotlin/redux-kotlin/issues/96 Is this a valid issue? Happy to close if not. Also willing to look into this and contribute if I'm in the ballpark here. Was looking at https://github.com/ktorio/ktor/pull/2664/files as a reference but no idea if that's what's needed here.
b

Big Chungus

02/01/2022, 11:04 PM
It simply does not publish apple silicon targets. The fix is pretty straightforward - declare and publish those targets.
🙌 1
You can check which targets are supported for any given lib on kamp.petuska.dev
d

Dan Nesfeder

02/02/2022, 12:23 AM
Ah okay thanks @Big Chungus - will take a look at this. If I'm following correctly, Arm64 should be included though no? https://github.com/reduxkotlin/redux-kotlin/blob/master/redux-kotlin-threadsafe/build.gradle.kts#L12
b

Big Chungus

02/02/2022, 12:30 PM
No, apple silicon simulator target is called iosSimulatorArm64. The one that's already published is for actual ios devices.
d

Dan Nesfeder

02/02/2022, 2:39 PM
Ah yup I see now, I'll get to work. Thanks again!
I have a branch building now with the simulator target added, but I think I need permission to push / cut a PR?
b

Big Chungus

02/04/2022, 8:18 PM
You need to fork the repo and then raise a pr from your fork upstream
👍 1
3 Views