From a00996b79ed1a0799f81d1e4339cea72ef33b2d8 Mon Sep 17 00:00:00 2001 From: Sebsatian Keller Date: Fri, 22 Mar 2019 16:00:48 +0100 Subject: [PATCH] Added information on how to rename the ios main.framework (#2806) --- FAQ.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/FAQ.md b/FAQ.md index 58db713e211..3104c0fd958 100644 --- a/FAQ.md +++ b/FAQ.md @@ -67,6 +67,23 @@ targets { +### Q: How do I rename the iOS framework? (main.framework) + +A: Use the `baseName` option. This will also set the module name. + +```groovy +targets { + fromPreset(presets.iosArm64, 'myapp') { + compilations.main.outputKinds 'FRAMEWORK' + binaries { + framework { + baseName = "TheName" + } + } + } +} +``` + ### Q: How do I enable bitcode for my Kotlin framework? A: By default gradle plugin adds it on iOS target.