I see from the WWDC video that it's possible to use secrets, like an API_KEY variable, when running Xcode Cloud builds.
How are these variables accessed from code? Is it something like this?
ProcessInfo.processInfo.environment["API_KEY"]
If so, how are we supposed to run the tests locally? Is the idea that every developer creates their own non-shared schemes and adds all secret environment variables to that scheme?
Customize your advanced Xcode Cloud workflows
RSS for tagDiscuss the WWDC21 session Customize your advanced Xcode Cloud workflows.
Posts under wwdc21-10269 tag
1 Post
Sort by: