diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 06888dc1..3014a8df 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -79,6 +79,10 @@ platform :ios do # Configure Code Signing via Match ########################################## + disable_automatic_code_signing( + team_id: team_id + ) + match( type: "appstore", api_key: api_key, @@ -87,6 +91,8 @@ platform :ios do clone_branch_directly: true, # optional git_user_email: "ls1.itg@in.tum.de", git_url: "https://gitlab.lrz.de/ase/ipraktikum/match-code-signing", + readonly: false, + force: true, git_basic_authorization: ENV['IOS_MATCH_GITLAB_AUTH'], # Base-64 encoded, format gitlab_auth_token_name:gitlab_auth_token keychain_name: keychain_name, keychain_password: keychain_password, # Keychain password to store cert (using the default login keychain) @@ -102,14 +108,6 @@ platform :ios do plist_path: info_plist_path ) - # Update Xcode Project to use maunual code signing - update_code_signing_settings( - use_automatic_signing: false, - code_sign_identity: "iPhone Distribution", - profile_uuid: lane_context[SharedValues::SIGH_UUID], - profile_name: lane_context[SharedValues::SIGH_NAME] - ) - ########################################## # Code sign and Build ##########################################