John O'Reilly
09/09/2024, 4:02 PMJohn O'Reilly
09/09/2024, 4:04 PMPlatform
for example and don't see anything like that (other than say isDebugBinary
)Patrick Cavanagh
09/09/2024, 5:20 PMgradle.properties
file would be on the KMP side.
We've got this when building the shared framework with KMP_ENVIRONMENT
being defined per configuration as a user defined build setting in Xcode.
./gradlew :shared:embedAndSignAppleFrameworkForXcode -Pbuildkonfig.flavor=$KMP_ENVIRONMENT
For use with this library - https://github.com/yshrsmz/BuildKonfigJohn O'Reilly
09/09/2024, 5:41 PMJohn O'Reilly
09/09/2024, 5:48 PM$CONFIGURATION
directly. Though maybe approach of having something like KMP_ENVIRONMENT
might be more flexible....are you defining that then in different .xcconfig
files?Patrick Cavanagh
09/09/2024, 5:51 PM.xcconfig
files per server environment with a variety of things defined.Patrick Cavanagh
09/09/2024, 5:52 PMinfo.plist
then accessing at runtime but that one is passed in to help generate the BuildKonfig which has all of the shared config.