EDIT: resolved, nevermind :slightly_smiling_face: ...
# touchlab-tools
c
EDIT: resolved, nevermind 🙂 Posting this here, as it seems to be related to suspending functions and enums, apologies if it’s actually more of a general multiplatform question 🙂 Just looking to hear if anyone has experienced something similar We’re having a weird issue where iOS is suddenly not able to see suspending functions and enums. It has worked perfectly fine and just “randomly” broke, even though we hadn’t changed anything major in the latest version of our shared library. It works when building locally with We get errors like
Value of type X has no member Y
where X is a class and Y is a suspending function We also get the error:
No exact matches in global call to onEnum
The only thing we have changed recently is updated to Kotlin 2.1.20, where we got a
Can't find env_blacklist file
error, which was at first fixed by calling
./gradlew commonizeNativeDistribution
before building - that fixed the build and the following released worked just fine. But, now we just made another release and it no longer works on iOS, with the issues mentioned above. On suggestion from KT-72068 we have tried adding
kotlin.native.toolchain.enabled=false
but that made no difference Skie 0.10.2 Kotlin 2.1.20 Gradle 8.11.1 The library is built using assembleFramework and publishing it manually to github package registry
The issue has been resolved, it was due to the CI having changed the stack from xcode 16.2 to 16.4.