Skip to content

Commit

Permalink
Merge branch 'ci/fastlane-using-match' of github.com:ls1intum/artemis…
Browse files Browse the repository at this point in the history
…-ios into ci/fastlane-using-match
  • Loading branch information
magkue committed Nov 19, 2024
2 parents 10ad1fb + c088245 commit 4aa8237
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ platform :ios do

unlock_keychain(
path: "~/Library/Keychains/ios-db",

password: ENV['IOS_KEYCHAIN_PASSWORD']
)

Expand Down Expand Up @@ -91,15 +92,13 @@ platform :ios do
# Build
##########################################


profile_mapping = Actions.lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]
update_code_signing_settings(
use_automatic_signing: false,
code_sign_identity: 'iPhone Distribution',
profile_name: profile_mapping[app_identifier],
)


# Build the app
build_ios_app(
clean: true, # Do a clean build each time
Expand All @@ -110,6 +109,10 @@ platform :ios do
derived_data_path: ".DerivedData", # Custom derived data path
output_directory: "./build", # Directory where the output artifacts are generated
scheme: "Artemis",
export_options: {
compileBitcode: false,
provisioningProfiles: SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING
},
xcargs: "-skipMacroValidation -skipPackagePluginValidation"
)
end
Expand Down

0 comments on commit 4aa8237

Please sign in to comment.