Environment Variables in SwiftUI The problem In most of the cases we’ll need to store some sort of a value or secret within our app.