For my Android app, I have ~60 app "variants", whi...
# ios
b
For my Android app, I have ~60 app "variants", which each have a handful of key/value config options + a folder of assets specific to that variant... Any way to achieve something similar with org.jetbrains.gradle.apple.applePlugin?
😱 2
k
It is possible to change buildSettings like this for all configurations:
Copy code
apple {
    iosApp {
        buildSettings.custom("IPHONEOS_DEPLOYMENT_TARGET", "14.3")
    }
}
and you can also change buildSettings for specific configuration (DEBUG or RELEASE):
Copy code
apple {
    iosApp {
        buildConfigurations.debug {
            properties["IPHONEOS_DEPLOYMENT_TARGET"] = "14.3"
        }
    }
}
It is not possible to change build settings for platform specific configurations.
b
I think what I'll need to do is have the main part of my app in an iosFramework, and then have all the white-label variants in a very simply iosApp that just includes the framework + custom assets. It's just very convenient that Android does this for you.