abdelrahmanesam20000
10/07/2023, 2:46 AMJeff Lockhart
10/07/2023, 5:00 AMpodPublishXCFramework
task. See docs.abdelrahmanesam20000
10/07/2023, 8:06 PMJeff Lockhart
10/07/2023, 8:40 PMabdelrahmanesam20000
10/07/2023, 8:41 PMJeff Lockhart
10/07/2023, 8:57 PMIf you're using CocoaPods integration in your projects, you can build XCFrameworks with the Kotlin CocoaPods Gradle plugin. It includes the following tasks that build XCFrameworks with all the registered targets and generate podspec files:
•, which generates a release XCFramework along with a podspec file.podPublishReleaseXCFramework
•, which generates a debug XCFramework along with a podspec file.podPublishDebugXCFramework
•It's all configured in the, which generates both debug and release XCFrameworks along with a podspec file.podPublishXCFramework
cocoapods { ... }
configuration block.abdelrahmanesam20000
10/07/2023, 9:00 PMwhat I understood is that I should use the following or use CocoaPods integrationbut I mustn't use both they have the same job right ?
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
}
}
Jeff Lockhart
10/07/2023, 9:01 PMabdelrahmanesam20000
10/07/2023, 9:02 PM