Skip to content

Instantly share code, notes, and snippets.

@wongk
Created November 19, 2019 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wongk/df741d73fe37aa7ef5fe7e985addff7d to your computer and use it in GitHub Desktop.
Save wongk/df741d73fe37aa7ef5fe7e985addff7d to your computer and use it in GitHub Desktop.
Blog - iOS Fat Framework - fat framework task
task fatFramework(type: FatFrameworkTask) {
// The fat framework must have the same base name as the initial frameworks.
baseName = "$ios_framework_name"
// Specify the frameworks to be merged.
from(
kotlin.targets.ios.binaries.getFramework("RELEASE"),
kotlin.targets.iosArm32.binaries.getFramework("RELEASE"),
kotlin.targets.iosArm64.binaries.getFramework("RELEASE")
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment