From d873c31e198bfa6cc067c7ee38eef2fbbc9445e5 Mon Sep 17 00:00:00 2001 From: ulfrxdev Date: Fri, 24 Apr 2026 18:14:12 +0200 Subject: [PATCH] feat(01-01): add iOS Kotlin/Native binary flags to gradle.properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - kotlin.native.binary.gc=cms (concurrent mark-sweep collector) - kotlin.native.binary.objcDisposeOnMain=false (off-main-thread Obj-C deinit) — avoids UI-thread pause spikes in CMP on iOS - Enforces INFRA-03 / D-18 / CLAUDE.md convention #7 / PITFALLS.md #1 on day 1 before any iOS code is compiled --- gradle.properties | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index ee114b2..5e5a436 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,4 +7,9 @@ org.gradle.configuration-cache=true org.gradle.caching=true #Android android.nonTransitiveRClass=true -android.useAndroidX=true \ No newline at end of file +android.useAndroidX=true + +# Kotlin/Native iOS (PITFALLS.md #1; D-18; INFRA-03) — MANDATORY day 1 +# CMS GC + non-main-thread Obj-C deinit to avoid UI-thread pause spikes in Compose Multiplatform. +kotlin.native.binary.gc=cms +kotlin.native.binary.objcDisposeOnMain=false \ No newline at end of file