Access native platform apis in KMM on Windows


According to this answer Kotlin IOS/Android Mutliplatform Hands On tutorial: Unresolved reference: platform - Stack Overflow is it not possible to access and code with native apis like the swift ones on Windows but only on macOS. I understand that to code in Swift you need to use macOS but does that also apply for the native code in the iosMain folder in the shared module? Is this correct or am I missing something?