Customize your advanced Xcode Cloud workflows

RSS for tag

Discuss the WWDC21 session Customize your advanced Xcode Cloud workflows.

Posts under wwdc21-10269 tag

1 Post
Sort by:

Post

Replies

Boosts

Views

Activity

Secret Environment Variables with Xcode Cloud
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?
1
0
1.9k
Nov ’23