From ddb1e52e68c161febb6c346d79bc4b59a1955eac Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Tue, 19 May 2026 18:57:05 -0400 Subject: [PATCH] Fix .xcode.env.local path: Fastlane runs from fastlane/ not mobile/ --- mobile/fastlane/Fastfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mobile/fastlane/Fastfile b/mobile/fastlane/Fastfile index 85b3227..3705105 100644 --- a/mobile/fastlane/Fastfile +++ b/mobile/fastlane/Fastfile @@ -129,8 +129,9 @@ platform :ios do ) node_path = sh("which node").strip - File.write("ios/.xcode.env.local", "export NODE_BINARY=#{node_path}\n") - UI.message("NODE_BINARY set to #{node_path}") + xcode_env_path = File.join(__dir__, "..", "ios", ".xcode.env.local") + File.write(xcode_env_path, "export NODE_BINARY=#{node_path}\n") + UI.message("NODE_BINARY set to #{node_path} at #{xcode_env_path}") increment_build_number( build_number: ENV["GITHUB_RUN_NUMBER"],