From d71e7ebff128e48530da7789e7f9a8bb028db5f3 Mon Sep 17 00:00:00 2001
From: Alex Tran <alex.tran1502@gmail.com>
Date: Mon, 14 Mar 2022 14:35:18 -0500
Subject: [PATCH] Added auto increase build number for TestFlight

---
 mobile/ios/fastlane/Fastfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mobile/ios/fastlane/Fastfile b/mobile/ios/fastlane/Fastfile
index ab67854fe8..3f8509d639 100644
--- a/mobile/ios/fastlane/Fastfile
+++ b/mobile/ios/fastlane/Fastfile
@@ -18,6 +18,9 @@ default_platform(:ios)
 platform :ios do
   desc "iOS deployment"
   lane :beta do
+    increment_build_number({
+      build_number: latest_testflight_build_number + 1
+    })
     build_app(scheme: "Runner",
               workspace: "Runner.xcworkspace",
               xcargs: "-allowProvisioningUpdates")