From cf3b74717cb0b73000a28a456aa069d4b274087c Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Tue, 11 Jun 2024 11:32:51 +0200 Subject: [PATCH 1/3] [WIP] Make Github Action build again (IOS-280) --- fastlane/Fastfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 0b4c2b44d..daacda18b 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -48,8 +48,10 @@ platform :ios do lane :build_only do xcodebuild( + build: true, clean: true, - scheme: "Mastodon") + scheme: "Mastodon" + ) end desc " Build and deploy the App to App Store Connect & TestFlight" From 83e20000905db4d979bf7fd7ec5dad0b7484b3d9 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Tue, 11 Jun 2024 11:44:56 +0200 Subject: [PATCH 2/3] [WIP] Clean, then build (IOS-280) --- fastlane/Fastfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index daacda18b..d291ecd6c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -48,10 +48,13 @@ platform :ios do lane :build_only do xcodebuild( - build: true, clean: true, scheme: "Mastodon" ) + xcodebuild( + build: true, + scheme: "Mastodon" + ) end desc " Build and deploy the App to App Store Connect & TestFlight" From ac1a7420c4ff85dd372db0d78781aac028605bbf Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Tue, 11 Jun 2024 11:57:20 +0200 Subject: [PATCH 3/3] Add destination --- fastlane/Fastfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index d291ecd6c..c5d02dd83 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -49,11 +49,12 @@ platform :ios do lane :build_only do xcodebuild( clean: true, - scheme: "Mastodon" + scheme: "#{$appName}" ) xcodebuild( build: true, - scheme: "Mastodon" + destination: "platform=iOS Simulator,name=iPhone 14 Pro", + scheme: "#{$appName}" ) end