rootstrap / ios-base

Boilerplate for new iOS projects using Swift 5. Provides a handful of functionalities.
https://rootstrap.com/
MIT License
256 stars 63 forks source link

POC cocoapod-keys for secrets management #198

Closed glm4 closed 1 year ago

glm4 commented 2 years ago

Description:

Limitations: Keys are global and running locally with a different build configurations will use the same keys.

One alternative is to have different keys per build configuration(which can be painful):

var apiClientSecret {
    #if $(CONFIGURATION) == 'Debug'
    return keys.testSecretDev
    #else
    return keys.testSecretProd
    #endif
}

Notes: