From b540f017593486172bb6350d1f1b333cb2c70f1d Mon Sep 17 00:00:00 2001 From: James Magahern Date: Mon, 27 Jul 2026 17:36:31 -0700 Subject: [PATCH] Fix Sybil release paths --- ios/fastlane/Fastfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index a3c3867..b90afd7 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -14,7 +14,8 @@ platform :ios do build_number = ENV.fetch("GITHUB_RUN_NUMBER") UI.user_error!("GITHUB_RUN_NUMBER must be a positive integer") unless build_number.match?(/\A[1-9]\d*\z/) - project_spec = "Apps/Sybil/project.yml" + ios_dir = File.expand_path("..", __dir__) + project_spec = File.join(ios_dir, "Apps/Sybil/project.yml") contents = File.read(project_spec) unless contents.match?(/^\s*MARKETING_VERSION:/) && contents.match?(/^\s*CURRENT_PROJECT_VERSION:/) UI.user_error!("Could not find version settings in #{project_spec}") @@ -23,7 +24,7 @@ platform :ios do contents.sub!(/^(\s*CURRENT_PROJECT_VERSION:\s*).*/, "\\1#{build_number}") File.write(project_spec, contents) - sh("xcodegen") + sh("xcodegen", "--spec", File.join(ios_dir, "project.yml")) api_key = app_store_connect_api_key( key_id: ENV.fetch("ASC_KEY_ID"), @@ -32,7 +33,10 @@ platform :ios do is_key_content_base64: true ) - build_app(scheme: "Sybil") + build_app( + project: File.join(ios_dir, "Sybil.xcodeproj"), + scheme: "Sybil" + ) upload_to_testflight( api_key: api_key,