feat: remove build responsabilty from iOS script #38
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user