From 904612c7c0f5f0d5e387539aedadb24b5b6cf370 Mon Sep 17 00:00:00 2001 From: staszekscp Date: Tue, 6 Dec 2022 13:21:27 +0100 Subject: [PATCH 1/2] update fastfile for ios build_internal --- fastlane/Fastfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 32e10fddc413..7f5c9480794a 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -140,10 +140,17 @@ platform :ios do path: "./ios/chat_expensify_adhoc.mobileprovision" ) + update_project_provisioning( + xcodeproj: "NewExpensify.xcodeproj", + profile: "./ios/chat_expensify_adhoc.mobileprovision", + build_configuration: "Release", + ) + build_app( workspace: "./ios/NewExpensify.xcworkspace", skip_profile_detection: true, scheme: "NewExpensify", + xcargs: { :PROVISIONING_PROFILE_SPECIFIER => "match AdHoc com.chat.expensify.chat", }, export_method: "ad-hoc", export_options: { method: "ad-hoc", From a6fa8f5954101ca77ed85be09fa7bba0bdd3631c Mon Sep 17 00:00:00 2001 From: staszekscp Date: Tue, 6 Dec 2022 13:39:27 +0100 Subject: [PATCH 2/2] remove update_project_provisioning --- fastlane/Fastfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 7f5c9480794a..c479a8d5e8c2 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -140,17 +140,11 @@ platform :ios do path: "./ios/chat_expensify_adhoc.mobileprovision" ) - update_project_provisioning( - xcodeproj: "NewExpensify.xcodeproj", - profile: "./ios/chat_expensify_adhoc.mobileprovision", - build_configuration: "Release", - ) - build_app( workspace: "./ios/NewExpensify.xcworkspace", skip_profile_detection: true, scheme: "NewExpensify", - xcargs: { :PROVISIONING_PROFILE_SPECIFIER => "match AdHoc com.chat.expensify.chat", }, + xcargs: { :PROVISIONING_PROFILE_SPECIFIER => "chat_expensify_adhoc", }, export_method: "ad-hoc", export_options: { method: "ad-hoc",