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.