From 6e7a41d9170d5c0c461bc9f576537b16a0fc8f2c Mon Sep 17 00:00:00 2001 From: Fadi George Date: Tue, 17 Nov 2026 16:15:54 -0800 Subject: [PATCH 1/4] ci: [SDK-5587] install e2e provisioning profiles from secrets The Enterprise team has no App Store Connect API, so the codesigning action now takes the In House profiles directly. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/e2e.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c03657a8d..56b856dc7 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -80,9 +80,9 @@ jobs: with: p12-base64: ${{ secrets.APPIUM_IOS_DEV_CERT_P12_BASE64 }} p12-password: ${{ secrets.APPIUM_IOS_DEV_CERT_PASSWORD }} - asc-key-id: ${{ secrets.APPIUM_APP_STORE_CONNECT_KEY_ID }} - asc-issuer-id: ${{ secrets.APPIUM_APP_STORE_CONNECT_ISSUER_ID }} - asc-private-key: ${{ secrets.APPIUM_APP_STORE_CONNECT_PRIVATE_KEY }} + main-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_MAIN_BASE64 }} + nse-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_NSE_BASE64 }} + widget-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_LA_BASE64 }} - name: Build signed IPA run: | From 0c1748f9a410549f4c04fc025fe44b5f433f05ae Mon Sep 17 00:00:00 2001 From: Fadi George Date: Tue, 17 Nov 2026 16:17:56 -0800 Subject: [PATCH 2/4] ci: [SDK-5587] sign every e2e archive target with the distribution cert Co-Authored-By: Claude Opus 5.5 --- .github/workflows/e2e.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 56b856dc7..39488ce17 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -85,6 +85,8 @@ jobs: widget-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_LA_BASE64 }} - name: Build signed IPA + # CI only has the in-house distribution cert, so pin the identity for + # every target, including the SDK frameworks built from source. run: | xcodebuild archive \ -workspace iOS_SDK/OneSignalSDK.xcworkspace \ @@ -97,6 +99,7 @@ jobs: -quiet \ -hideShellScriptEnvironment \ CODE_SIGN_STYLE=Manual \ + CODE_SIGN_IDENTITY="iPhone Distribution" \ COMPILER_INDEX_STORE_ENABLE=NO xcodebuild -exportArchive \ -archivePath examples/demo/build/App.xcarchive \ From 31904b7304172a6f6ecb0163e8332fe3499a4996 Mon Sep 17 00:00:00 2001 From: Fadi George Date: Tue, 17 Nov 2026 16:19:33 -0800 Subject: [PATCH 3/4] ci: [SDK-5587] pin the enterprise team for every e2e archive target Co-Authored-By: Claude Opus 5.5 --- .github/workflows/e2e.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 39488ce17..4630b1e57 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -85,8 +85,9 @@ jobs: widget-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_LA_BASE64 }} - name: Build signed IPA - # CI only has the in-house distribution cert, so pin the identity for - # every target, including the SDK frameworks built from source. + # CI only has the in-house distribution cert, so pin its identity and + # team for every target, including the SDK frameworks built from source + # (OneSignal.xcodeproj keeps the SDK release team). run: | xcodebuild archive \ -workspace iOS_SDK/OneSignalSDK.xcworkspace \ @@ -100,6 +101,7 @@ jobs: -hideShellScriptEnvironment \ CODE_SIGN_STYLE=Manual \ CODE_SIGN_IDENTITY="iPhone Distribution" \ + DEVELOPMENT_TEAM=DL8TF3X4K3 \ COMPILER_INDEX_STORE_ENABLE=NO xcodebuild -exportArchive \ -archivePath examples/demo/build/App.xcarchive \ From 76da0145d5530771cec885da2479f57e53132570 Mon Sep 17 00:00:00 2001 From: Fadi George Date: Tue, 17 Nov 2026 16:26:33 -0800 Subject: [PATCH 4/4] ci: [SDK-5587] download e2e profiles through the Enterprise API Co-Authored-By: Claude Opus 5.5 --- .github/workflows/e2e.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4630b1e57..5a2336dcf 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -80,9 +80,9 @@ jobs: with: p12-base64: ${{ secrets.APPIUM_IOS_DEV_CERT_P12_BASE64 }} p12-password: ${{ secrets.APPIUM_IOS_DEV_CERT_PASSWORD }} - main-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_MAIN_BASE64 }} - nse-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_NSE_BASE64 }} - widget-profile-base64: ${{ secrets.APPIUM_IOS_PROFILE_LA_BASE64 }} + asc-key-id: ${{ secrets.APPIUM_APP_STORE_CONNECT_KEY_ID }} + asc-issuer-id: ${{ secrets.APPIUM_APP_STORE_CONNECT_ISSUER_ID }} + asc-private-key: ${{ secrets.APPIUM_APP_STORE_CONNECT_PRIVATE_KEY }} - name: Build signed IPA # CI only has the in-house distribution cert, so pin its identity and