When i try to package my kotlin multiplatform library into xcframework on iOS, for both arm64 and simulatorArm64 versions i get an error from
xcodebuild --create-xcframework...
that tells me "A library with the identifier 'ios-arm64' already exists."
Googled the error and found the "solution":
Provide different destination parameters for xcodebuild archive --destination parameter:
`-destination generic/platform=iOS and -destination generic/platform=“iOS Simulator” for the simulator target.
The question is, how can i change the "destination" parameter in the kotlin build.gradle for the targets?