Skip to content

Instantly share code, notes, and snippets.

@pangers
Last active December 30, 2022 21:24
Show Gist options
  • Save pangers/a75803615f169ae1b0b9c89ac57fedd9 to your computer and use it in GitHub Desktop.
Save pangers/a75803615f169ae1b0b9c89ac57fedd9 to your computer and use it in GitHub Desktop.
# 1)
# ...Parse a configuration file...
schemes = parse(file: "config.json")
# 2)
for scheme in schemes do
# 3)
# Provide environment variables for sigh using the current `scheme` object
# ...
# ENV["SIGH_USERNAME"] = scheme["apple_id"]
# ...
# 4)
profile_uuid = sigh
# 5)
gym(
xcargs: "PROVISIONING_PROFILE_SPECIFIER='#{profile_uuid}'"
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment