Skip to content

Instantly share code, notes, and snippets.

[
{
"food": {
"date": "2020-01-01",
"restaurantName": "Restaurant",
"totalCost": "8.00",
"orders": [
{
"name": "Pizza",
"cost": "100"
@tedgonzalez
tedgonzalez / AppStoreConnectRoles.md
Last active November 11, 2024 10:05
Ever since the Apple developer portal and App Store Connect merged, I got confused with the summary. I like knowing the diff between App Store Connect roles. Here's a detailed list of what each role can do:

App Store Connect Roles

Developer Developer with certificates AppManager AppManager with certificates Admin Account Holder
App Features
Upload Builds
Edit App Store Details (Read)
Create Apps and Submit Versions
lane :release do
api_key = app_store_connect_api_key(
key_id: "D383SF739",
issuer_id: "6053b7fe-68a8-4acb-89be-165aa6465141",
key_filepath: "./D383SF739.p8",
duration: 1200, # optional
in_house: false, # optional but may be required if using match/sigh
)
sigh(api_key: api_key)

Fastlane action app_store_connect_api_key

Key Description Env Var Default
key_id The key ID APP_STORE_CONNECT_API_KEY_KEY_ID
issuer_id The issuer ID APP_STORE_CONNECT_API_KEY_ISSUER_ID
key_filepath The path to the key p8 file APP_STORE_CONNECT_API_KEY_KEY_FILEPATH
key_content The content of the key p8 file APP_STORE_CONNECT_API_KEY_KEY
is_key_content_base64 Whether :key_content is Base64 encoded or not APP_STORE_CONNECT_API_KEY_IS_KEY_CONTENT_BASE64 false
duration The token session duration APP_STORE_CONNECT_API_KEY_DURATION