Anyone know of a Kotlin Multiplatform project with...
# multiplatform
j
Anyone know of a Kotlin Multiplatform project with a recent working watchos client implementation?
Trying to restore watchos client in https://github.com/joreilly/PeopleInSpace to working condition after switch to
watchosX64
but running in to a few issues
r
I don't have another good sample off the tope of my head but I am curious what issues. Is it dependency stuff on the kotlin side or something about how it interfaces with swift? Or something else?
Something that might trip you up: watchosX64 has 64-bit number types where watchosArm64 has 32-bit ones
j
So, trying to run in simulator....there was switch relatively recently to use
watchosX64
architecture in XCode for that and various KMP libraries were updated over time to support that ....
I updated
build.gradle.kts
in common module to use
watchosX64
instead of
watchosX86
The watchos XCode project in the repo was created some time ago so could be some other incompatibilities as well....I tried creating a new watchos project, but getting what seem to be some cocaopods related issues then
hmm, thought I had tried this before but changed architectures build setting in XCode to
x86_64
and working now!
it's good to talk 🙂
r
rubber duck