diff --git a/build.gradle b/build.gradle index c1d0545..7da8bcc 100644 --- a/build.gradle +++ b/build.gradle @@ -144,9 +144,9 @@ task fatFramework(type: FatFrameworkTask) { final File frameworkDir = new File(buildDir, "xcode-frameworks") destinationDir = frameworkDir - def ios32Framework = kotlin.targets.ios32.binaries.getFramework(frameworkName, 'DEBUG') - def ios64Framework = kotlin.targets.ios64.binaries.getFramework(frameworkName, 'DEBUG') - def iosSimulatorFramework = kotlin.targets.iosSimulator.binaries.getFramework(frameworkName, 'DEBUG') + def ios32Framework = kotlin.targets.ios32.binaries.getFramework(frameworkName, 'RELEASE') + def ios64Framework = kotlin.targets.ios64.binaries.getFramework(frameworkName, 'RELEASE') + def iosSimulatorFramework = kotlin.targets.iosSimulator.binaries.getFramework(frameworkName, 'RELEASE') dependsOn ios32Framework.linkTask dependsOn ios64Framework.linkTask