Kotlinx.cinterop with Kotlin multiplarform


I am attempting to use kotlinx.cinterop.NativePlacement.allocPointerTo within the iOS implementation of a Kotlin multiplartform project. I can’t for the life of me get kotlinx.cinterop classes imported correctly. I’ve tried a variety of different plugins and kotlin dependencies for the ‘iosMain’ source set and nothing is working. What am I missing here?