fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
39.72k stars 5.72k forks source link

Temp #27459

Closed rasberik closed 1 month ago

rasberik commented 1 month ago

Checklist

Motivation and Context

Im not sure if whether this will cause regression in other tools & scenarios, dont have a high hope

Description

Resolves https://github.com/fastlane/fastlane/issues/22324

After recent changes to enable enterprise API, we are noticing regressions in match when using app_store_connect_api_key for enterprise.

undefined method `in_house?' for nil

Testing Steps

For enterprise, match for enterprise with app_store_connect_api_key

sync_code_signing(
        git_branch: *_my_branch_*,
        team_id: *my_team_id_*,
        template_name: *my_template_name_*,
        type: 'enterprise',
        api_key: app_store_connect_api_key,
        app_identifier: *my_app_identitifers_*,
      )

Required Env:

APP_STORE_CONNECT_API_KEY_KEY
APP_STORE_CONNECT_API_KEY_KEY_ID
(*) APP_STORE_CONNECT_API_KEY_IS_KEY_CONTENT_BASE64
APP_STORE_CONNECT_API_KEY_ISSUER_ID
APP_STORE_CONNECT_API_KEY_IN_HOUSE