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"],