assuming you have kotlin 1.3.30, you can use gradle plugin id("org.jetbrains.kotlin.native.cocoapods") version "1.3.30"
to generate a cocoapod with all three architectures (arm32, arm64 and x64). This is what i use and so far i haven't had any problems yet