Created
November 19, 2019 15:57
-
-
Save wongk/df741d73fe37aa7ef5fe7e985addff7d to your computer and use it in GitHub Desktop.
Blog - iOS Fat Framework - fat framework task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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