feat: remove build responsabilty from iOS script #38

Merged
malo merged 1 commits from feat/remove-build-from-fastlane-ios into main 2023-10-31 08:32:41 +00:00
Showing only changes of commit e11b2fb58c - Show all commits

View File

@ -61,15 +61,6 @@ module Fastlane
)
UI.message("🍺 API Key formated")
# Install Cocoapods
other_action.cocoapods(
clean_install: true,
clean: true,
integrate: true,
podfile: "./Podfile"
)
UI.message("🍺 Pod got")
# Set up code signing using match
# Configures and runs `match` which manages code signing certificates and provisioning profiles for the project.
# The function takes the app's bundle identifier, an authorization token for the project's Git repository, and the name and password for a temporary keychain used to store the signing certificate.
@ -90,15 +81,6 @@ module Fastlane
)
UI.message("🍺 Signing environment ready")
begin
other_action.flutter_build(
build: 'xcarchive',
build_args: params[:build_args]
)
rescue => e
puts "Error : #{e.message}"
end
archive_path = "../build/ios/archive/Runner.xcarchive"
if File.exist?(archive_path)
@ -129,7 +111,7 @@ module Fastlane
skip_submission: true,
distribute_external: false,
notify_external_testers: false,
ipa: "./build/Runner.ipa"
ipa: "./Runner.ipa",
)
# Delete keychain if existing
@ -165,12 +147,6 @@ module Fastlane
env_name: "IOS_CD_TEST_TYPE",
optional: false,
description: "Type of test (internal, external, production)"),
FastlaneCore::ConfigItem.new(
key: :build_args,
description: 'An array of extra arguments for "flutter build"',
optional: true,
type: Array
)
]
end