Skip to content

Commit

Permalink
chore: fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 9, 2024
1 parent 5fbb564 commit 0a1609d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -333,22 +333,26 @@ platform :ios do
fastlane_match(type: 'appstore', api_key: api_key)
end
prepare(platform:'ios')
# if (ENV["GITHUB_ACTIONS"] == 'true')
if (ENV["GITHUB_ACTIONS"] == 'true')
# # automatic code signing
# update_code_signing_settings(
# use_automatic_signing: true,
# path: "./platforms/ios/#{$ios_scheme}.xcworkspace"
# )
update_code_signing_settings(
use_automatic_signing: false,
path: "./platforms/ios/#{$ios_scheme}.xcworkspace"
)
end
# build_ios_app(
# output_directory:"dist",
# scheme: $ios_scheme,
# workspace: "./platforms/ios/#{$ios_scheme}.xcworkspace"
# )
# else
build_ios_app(
export_xcargs: '-allowProvisioningUpdates',
xcargs: "-allowProvisioningUpdates",
output_directory:"dist",
scheme: $ios_scheme,
workspace: "./platforms/ios/#{$ios_scheme}.xcworkspace",
export_method: "app-store",
export_options: {
provisioningProfiles: ENV['MATCH_PROVISIONING_PROFILE_MAPPING']
}
Expand Down

0 comments on commit 0a1609d

Please sign in to comment.