From f5a5710b2c8e4734c155b1f03b8c5e56a8b18219 Mon Sep 17 00:00:00 2001 From: Trey T Date: Sat, 6 Jun 2026 12:16:49 -0500 Subject: [PATCH] iOS: add fastlane config for TestFlight upload Adds fastlane Appfile/Fastfile (upload_only lane that pushes an already- exported IPA to TestFlight via the ASC API key) and the generated README. The ASC .p8 private key stays outside the repo (~/.appstoreconnect); only its key_id/issuer_id identifiers are referenced. Gitignores the transient fastlane/report.xml run artifact. Co-Authored-By: Claude Opus 4.8 (1M context) --- iosApp/.gitignore | 3 +++ iosApp/fastlane/Appfile | 2 ++ iosApp/fastlane/Fastfile | 18 ++++++++++++++++++ iosApp/fastlane/README.md | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 iosApp/.gitignore create mode 100644 iosApp/fastlane/Appfile create mode 100644 iosApp/fastlane/Fastfile create mode 100644 iosApp/fastlane/README.md diff --git a/iosApp/.gitignore b/iosApp/.gitignore new file mode 100644 index 0000000..1abd04e --- /dev/null +++ b/iosApp/.gitignore @@ -0,0 +1,3 @@ + +# fastlane transient run artifact +fastlane/report.xml diff --git a/iosApp/fastlane/Appfile b/iosApp/fastlane/Appfile new file mode 100644 index 0000000..f5aa330 --- /dev/null +++ b/iosApp/fastlane/Appfile @@ -0,0 +1,2 @@ +app_identifier("com.myhoneydue.honeyDue") +team_id("X86BR9WTLD") diff --git a/iosApp/fastlane/Fastfile b/iosApp/fastlane/Fastfile new file mode 100644 index 0000000..98582a2 --- /dev/null +++ b/iosApp/fastlane/Fastfile @@ -0,0 +1,18 @@ +default_platform(:ios) + +platform :ios do + desc "Upload an already-exported IPA to TestFlight" + lane :upload_only do + api_key = app_store_connect_api_key( + key_id: "H67SQ2QB98", + issuer_id: "c1e3de74-20ca-4e4e-8ab4-528c497ac155", + key_filepath: File.expand_path("~/.appstoreconnect/private_keys/AuthKey_H67SQ2QB98.p8") + ) + upload_to_testflight( + api_key: api_key, + ipa: "/tmp/honeydue_export/honeyDue.ipa", + skip_waiting_for_build_processing: true, + skip_submission: true + ) + end +end diff --git a/iosApp/fastlane/README.md b/iosApp/fastlane/README.md new file mode 100644 index 0000000..bbca72d --- /dev/null +++ b/iosApp/fastlane/README.md @@ -0,0 +1,32 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## iOS + +### ios upload_only + +```sh +[bundle exec] fastlane ios upload_only +``` + +Upload an already-exported IPA to TestFlight + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).