mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
Update Fastfile
This commit is contained in:
parent
ca9b5f88a0
commit
a10aa7b544
1 changed files with 3 additions and 34 deletions
|
@ -102,13 +102,13 @@ lane :fetch_appstore_profiles_catalyst do
|
|||
end
|
||||
|
||||
|
||||
desc "Clear derived data"
|
||||
desc "Clear derived data"
|
||||
lane :clear_derived_data_lane do
|
||||
UI.message("Clearing derived data...")
|
||||
clear_derived_data
|
||||
end
|
||||
end
|
||||
|
||||
desc "Increment build number"
|
||||
desc "Increment build number"
|
||||
lane :increment_build_number_lane do
|
||||
UI.message("Incrementing build number to current timestamp...")
|
||||
|
||||
|
@ -211,37 +211,6 @@ end
|
|||
last_commit = last_git_commit
|
||||
already_built_flag = ".already_built_#{last_commit[:sha]}"
|
||||
File.write(already_built_flag, Time.now.to_s)
|
||||
end
|
||||
|
||||
desc "Build and distribute the Mac Catalyst app for BlueWallet-NoLDK (Universal)"
|
||||
lane :build_and_distribute_catalyst_universal do |options|
|
||||
# Conditionally fetch the right provisioning profiles
|
||||
if options[:type] == "development"
|
||||
fetch_dev_profiles_catalyst
|
||||
else
|
||||
fetch_appstore_profiles_catalyst
|
||||
end
|
||||
|
||||
# Build the Mac Catalyst app (Universal Build for Apple Silicon and Intel)
|
||||
build_app(
|
||||
scheme: "BlueWallet-NoLDK",
|
||||
configuration: "Release",
|
||||
catalyst_platform: "macos",
|
||||
export_method: options[:type] || "app-store", # Default to app-store if not specified
|
||||
xcargs: "ARCHS='arm64 x86_64' VALID_ARCHS='arm64 x86_64'",
|
||||
export_options: {
|
||||
provisioningProfiles: {
|
||||
"io.bluewallet.bluewallet" => "Provisioning Profile Name for Catalyst",
|
||||
# Include other identifiers as necessary
|
||||
},
|
||||
signingStyle: "manual",
|
||||
}
|
||||
)
|
||||
|
||||
# Optionally, upload the build to TestFlight or App Store Connect for app-store type
|
||||
if options[:type] != "development"
|
||||
upload_to_testflight(skip_waiting_for_build_processing: true)
|
||||
end
|
||||
end
|
||||
|
||||
desc "Update 'What's New' section in App Store Connect for all localizations"
|
||||
|
|
Loading…
Add table
Reference in a new issue