@@ -345,8 +345,8 @@ import org.jetbrains.kotlin.gradle.tasks.FatFrameworkTask
345
345
346
346
kotlin {
347
347
// Create and configure the targets.
348
- val ios32 = watchosArm32(" watchos32" )
349
- val ios64 = watchosArm64(" watchos64" )
348
+ val watchos32 = watchosArm32(" watchos32" )
349
+ val watchos64 = watchosArm64(" watchos64" )
350
350
configure(listOf (watchos32, watchos64)) {
351
351
binaries.framework {
352
352
baseName = " my_framework"
@@ -360,8 +360,8 @@ kotlin {
360
360
destinationDir = buildDir.resolve(" fat-framework/debug" )
361
361
// Specify the frameworks to be merged.
362
362
from(
363
- ios32 .binaries.getFramework(" DEBUG" ),
364
- ios64 .binaries.getFramework(" DEBUG" )
363
+ watchos32 .binaries.getFramework(" DEBUG" ),
364
+ watchos64 .binaries.getFramework(" DEBUG" )
365
365
)
366
366
}
367
367
}
@@ -392,8 +392,8 @@ kotlin {
392
392
destinationDir = file("$buildDir/fat-framework/debug")
393
393
// Specify the frameworks to be merged.
394
394
from(
395
- targets.ios32 .binaries.getFramework("DEBUG"),
396
- targets.ios64 .binaries.getFramework("DEBUG")
395
+ targets.watchos32 .binaries.getFramework("DEBUG"),
396
+ targets.watchos64 .binaries.getFramework("DEBUG")
397
397
)
398
398
}
399
399
}
0 commit comments