Skip to content

Commit

Permalink
Disable automatic signing
Browse files Browse the repository at this point in the history
  • Loading branch information
magkue committed Nov 12, 2024
1 parent c522248 commit af2c237
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -87,6 +91,8 @@ platform :ios do
clone_branch_directly: true, # optional
git_user_email: "[email protected]",
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)
Expand All @@ -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
##########################################
Expand Down

0 comments on commit af2c237

Please sign in to comment.