From 9045097cbdb7ddefbeff3699a9354ed19cda3f69 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Sun, 17 Nov 2024 14:15:34 -0800 Subject: [PATCH 1/3] Use the same target name for alpha builds as all other builds. --- DuckDuckGo.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index e50ecf690b..bb5d39f5e4 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -10456,7 +10456,7 @@ "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.mobile.ios.alpha; - PRODUCT_NAME = "$(TARGET_NAME)-Alpha"; + PRODUCT_NAME = "$(TARGET_NAME)"; "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.duckduckgo.mobile.ios.alpha"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = ALPHA; SWIFT_VERSION = 5.0; From 201fc200e7ae2027d1ebbca1d36c2ca498734d19 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Sun, 17 Nov 2024 14:26:37 -0800 Subject: [PATCH 2/3] Remove main branch check. --- .github/workflows/alpha.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 763f15db1e..ff6cda27e6 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -40,13 +40,6 @@ jobs: steps: - - name: Assert main branch - run: | - case "${{ github.ref }}" in - *main) ;; - *) echo "👎 Not main branch"; exit 1 ;; - esac - - name: Register SSH keys for access to certificates uses: webfactory/ssh-agent@v0.7.0 with: From f06ccdd34aacf3ddee833b814ccd2efc3ce64de7 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Sun, 17 Nov 2024 14:44:32 -0800 Subject: [PATCH 3/3] Override the module name for the alpha build. --- DuckDuckGo.xcodeproj/project.pbxproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index bb5d39f5e4..4e437741c5 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -10456,7 +10456,8 @@ "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.mobile.ios.alpha; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_MODULE_NAME = DuckDuckGo; + PRODUCT_NAME = "$(TARGET_NAME)-Alpha"; "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.duckduckgo.mobile.ios.alpha"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = ALPHA; SWIFT_VERSION = 5.0;