Added information on how to rename the ios main.framework (#2806)

This commit is contained in:
Sebsatian Keller
2019-03-22 16:00:48 +01:00
committed by Nikolay Igotti
parent c3b2b47403
commit a00996b79e
+17
View File
@@ -67,6 +67,23 @@ targets {
</div>
### 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.