Skip to content

Commit

Permalink
remove iosArmv7 from fat framework
Browse files Browse the repository at this point in the history
  • Loading branch information
crc-32 committed May 24, 2024
1 parent e816aed commit f5f273f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,11 @@ if (Os.isFamily(Os.FAMILY_MAC)) {
Os.isFamily(Os.FAMILY_MAC)
}
val iosTask = (kotlin.targets.getByName("ios") as KotlinNativeTarget).binaries.getFramework("RELEASE")
val iosArmv7Task = (kotlin.targets.getByName("iosArmv7") as KotlinNativeTarget).binaries.getFramework("RELEASE")
dependsOn(iosTask.linkTask)
dependsOn(iosArmv7Task.linkTask)
platform.set("device")

inputFrameworks.setFrom(project.files(iosTask.outputFile, iosArmv7Task.outputFile))
inputFrameworkDSYMs.setFrom(project.files(iosTask.outputFile.path+".dSYM", iosArmv7Task.outputFile.path+".dSYM"))
inputFrameworks.setFrom(project.files(iosTask.outputFile))
inputFrameworkDSYMs.setFrom(project.files(iosTask.outputFile.path+".dSYM"))
}

val assembleXCFramework by tasks.registering {
Expand Down

0 comments on commit f5f273f

Please sign in to comment.