Created
July 2, 2024 14:01
-
-
Save railson-ferreira/cf6819beee2e64b17c8180ea64238f78 to your computer and use it in GitHub Desktop.
Generate ExportOptions.plist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| CONTENT='<?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>method</key> | |
| <string>app-store</string> <!-- app-store, ad-hoc, enterprise, development --> | |
| <key>teamID</key> | |
| <string>{TEAM_ID}</string> | |
| <key>provisioningProfiles</key> | |
| <dict> | |
| <key>{APP_ID}</key> | |
| <string>{PROVISIONING_PROFILE}</string> | |
| </dict> | |
| </dict> | |
| </plist>' | |
| echo "$CONTENT" | sed "s|{TEAM_ID}|$1|" | sed "s|{APP_ID}|$2|" | sed "s|{PROVISIONING_PROFILE}|$3|" |
Author
railson-ferreira
commented
Jul 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment