ASC_KEY_CONTENT is the raw .p8 private key, which contains literal newlines. The heredoc interpolated it straight into a JSON string, producing invalid JSON (JSON::ParserError in get_provisioning_profile). Build the file with Ruby's JSON encoder instead so newlines are escaped correctly. Verified locally against a realistic multi-line PEM value.
113 lines
5.1 KiB
YAML
113 lines
5.1 KiB
YAML