File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -939,13 +939,14 @@ platform :ios do
939939 #
940940 # @option [Boolean] readonly (default: true) Whether to only fetch existing certificates and profiles, without generating new ones.
941941 private_lane :alpha_code_signing do |options |
942- api_key_path = ASC_KEY_PATH
943942 readonly = options . fetch ( :readonly , true )
944943
945- unless readonly
944+ if readonly
945+ # In readonly mode, we can use the API key
946+ api_key_path = ASC_KEY_PATH
947+ else
946948 # The Enterprise account APIs do not support authentication via API key.
947- # If we want to modify data (readonly = false) we need to authenticate
948- # manually.
949+ # If we want to modify data (readonly = false) we need to authenticate manually.
949950 prompt_user_for_app_store_connect_credentials
950951 # We also need to pass no API key path, otherwise Fastlane will give
951952 # precedence to that authentication mode.
You can’t perform that action at this time.
0 commit comments