Has anyone got any strategies for a highly modularized KMP project, and running native tests (specifically on the iOS Simulator)? We're finding that having to run
linkDebugTestIosSimulatorArm64
on every module with a test just takes forever. We're very close to stopping running iOS tests on our CI runs and running it nightly.
h
Harold Martin
02/23/2024, 9:02 PM
If your modules as a whole are changing infrequently there are some clever caching strategies to use the mostly/entirely skip build the native code. Also have to ask if your sure this is where the slowdown is? (There were some severe sim test speed regressions in Xcode 15)
i
Ismail
04/29/2025, 1:30 PM
We’re running into a similar issue with our multi module CMP project, we run with
iosSimulatorArm64Test
and our CI build for iOS tests take too long 40+ mins
Did you found a solution for this, or did you scrap running iOS tests CI?
c
cb
05/01/2025, 12:57 PM
We're now using an affected module detector, to only run tests on 'affected' modules. It doesn't help in the extreme case, but for most PRs it will cut down CI time.