From 33307fe10d3a28cccf794587774f5dd057765458 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 05:37:38 +0900 Subject: [PATCH 01/13] use xcrun altool --- .github/workflows/pull_request.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d6aa218..d5d8e6b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -31,6 +31,13 @@ jobs: run: | echo "${AUTHKEY_P8_BASE64}" | base64 -d > "${PWD}/Authkey.p8" xcodebuild -exportArchive -archivePath ci-sample_debug.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsDevelopment.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" + - name: upload app store connect + run: | + xcrun altool --validate-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" + xcrun altool --upload-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" + env: + ISSUER_ID: ${{ secrets.ISSUER_ID }} + KEY_ID: ${{ secrets.KEY_ID }} - name: archive uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: From 573262a15cd27c8680dd947a0db0318434f624d3 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 05:45:07 +0900 Subject: [PATCH 02/13] =?UTF-8?q?private=5Fkeys=E3=83=87=E3=82=A3=E3=83=AC?= =?UTF-8?q?=E3=82=AF=E3=83=88=E3=83=AA=E3=82=92=E7=94=A8=E6=84=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d5d8e6b..a575b7b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -33,6 +33,9 @@ jobs: xcodebuild -exportArchive -archivePath ci-sample_debug.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsDevelopment.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" - name: upload app store connect run: | + mkdir ./private_keys + echo -n "${AUTHKEY_P8_BASE64}" | base64 -d --output ./private_keys/AuthKey_${KEY_ID}.p8 + xcrun altool --validate-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" xcrun altool --upload-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" env: From 2bc0412772d6806696dcf90b657eb4f3665e8fa9 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 05:48:01 +0900 Subject: [PATCH 03/13] =?UTF-8?q?=E7=92=B0=E5=A2=83=E5=A4=89=E6=95=B0?= =?UTF-8?q?=E3=82=92=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a575b7b..5a8cffc 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -32,15 +32,16 @@ jobs: echo "${AUTHKEY_P8_BASE64}" | base64 -d > "${PWD}/Authkey.p8" xcodebuild -exportArchive -archivePath ci-sample_debug.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsDevelopment.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" - name: upload app store connect + env: + ISSUER_ID: ${{ secrets.ISSUER_ID }} + KEY_ID: ${{ secrets.KEY_ID }} + AUTHKEY_P8_BASE64: ${{ secrets.AUTHKEY_P8_BASE64 }} run: | mkdir ./private_keys echo -n "${AUTHKEY_P8_BASE64}" | base64 -d --output ./private_keys/AuthKey_${KEY_ID}.p8 xcrun altool --validate-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" xcrun altool --upload-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" - env: - ISSUER_ID: ${{ secrets.ISSUER_ID }} - KEY_ID: ${{ secrets.KEY_ID }} - name: archive uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: From fba7a1ab9e1716a8569777d89551297901ff7406 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 05:53:42 +0900 Subject: [PATCH 04/13] =?UTF-8?q?=E3=83=AA=E3=83=AA=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=83=93=E3=83=AB=E3=83=89=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 5a8cffc..814fe31 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: archive run: | - xcodebuild archive CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -project ./ci-sample.xcodeproj -scheme ci-sample -configuration Debug -archivePath ./ci-sample_debug + xcodebuild archive CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -project ./ci-sample.xcodeproj -scheme ci-sample -configuration Release -archivePath ./ci-sample_release - name: upload testflight env: AUTHKEY_P8_BASE64: ${{ secrets.AUTHKEY_P8_BASE64 }} @@ -30,7 +30,7 @@ jobs: KEY_ID: ${{ secrets.KEY_ID }} run: | echo "${AUTHKEY_P8_BASE64}" | base64 -d > "${PWD}/Authkey.p8" - xcodebuild -exportArchive -archivePath ci-sample_debug.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsDevelopment.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" + xcodebuild -exportArchive -archivePath ci-sample_release.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsTestFlight.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" - name: upload app store connect env: ISSUER_ID: ${{ secrets.ISSUER_ID }} From 03eafd3e73bfd19297e857b44bc3373c41ad94f3 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 05:57:37 +0900 Subject: [PATCH 05/13] =?UTF-8?q?Xcode=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 814fe31..1bba988 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -17,7 +17,7 @@ jobs: runs-on: macos-latest timeout-minutes: 40 env: - DEVELOPER_DIR: "/Applications/Xcode_15.4.app/Contents/Developer" + DEVELOPER_DIR: "/Applications/Xcode_16.3.app/Contents/Developer" steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: archive From 69b1e360c18ebe460a7862f4c129bee8a7bc9893 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 06:00:37 +0900 Subject: [PATCH 06/13] =?UTF-8?q?Xcode=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1bba988..0ba7205 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -17,7 +17,7 @@ jobs: runs-on: macos-latest timeout-minutes: 40 env: - DEVELOPER_DIR: "/Applications/Xcode_16.3.app/Contents/Developer" + DEVELOPER_DIR: "/Applications/Xcode_16.2.app/Contents/Developer" steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: archive From b4e635023f3498a7f4e238457fe82197f885d7ff Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 06:05:02 +0900 Subject: [PATCH 07/13] =?UTF-8?q?archive=E3=82=92=E5=B8=B8=E3=81=AB?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0ba7205..3d9d7e1 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -40,9 +40,11 @@ jobs: mkdir ./private_keys echo -n "${AUTHKEY_P8_BASE64}" | base64 -d --output ./private_keys/AuthKey_${KEY_ID}.p8 + ls -l ./build_result xcrun altool --validate-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" xcrun altool --upload-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" - name: archive + if: ${{ always() }} uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: name: ipa file From 7dec6f82a306795ce567482e3b7938514fcd45e6 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 06:23:32 +0900 Subject: [PATCH 08/13] =?UTF-8?q?export=E3=81=99=E3=82=8B=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=97=E3=81=AEplist=E3=83=95=E3=82=A1=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=82=92=E7=94=A8=E6=84=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ExportOptionsAppStoreConnect.plist | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ExportOptionsAppStoreConnect.plist diff --git a/ExportOptionsAppStoreConnect.plist b/ExportOptionsAppStoreConnect.plist new file mode 100644 index 0000000..798c374 --- /dev/null +++ b/ExportOptionsAppStoreConnect.plist @@ -0,0 +1,25 @@ + + + + + destination + export + manageAppVersionAndBuildNumber + + method + app-store-connect + provisioningProfiles + + com.tarappo.uitest + UI Test Sample + + signingStyle + automatic + stripSwiftSymbols + + teamID + BY773RCU69 + uploadSymbols + + + From 716ace68c9e09494ed0eb0cbf938dc91feb6966c Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 06:26:30 +0900 Subject: [PATCH 09/13] =?UTF-8?q?plist=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=81=AE=E5=88=A9=E7=94=A8=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 3d9d7e1..b4866ee 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -30,7 +30,8 @@ jobs: KEY_ID: ${{ secrets.KEY_ID }} run: | echo "${AUTHKEY_P8_BASE64}" | base64 -d > "${PWD}/Authkey.p8" - xcodebuild -exportArchive -archivePath ci-sample_release.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsTestFlight.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" + xcodebuild -exportArchive -archivePath ci-sample_release.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsAppStoreConnect.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" + ls -l ./build_result - name: upload app store connect env: ISSUER_ID: ${{ secrets.ISSUER_ID }} From b5900e5313223753d23536f0cda310e513c4bc32 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 06:32:57 +0900 Subject: [PATCH 10/13] =?UTF-8?q?=E4=B8=8D=E5=BF=85=E8=A6=81=E3=81=AA?= =?UTF-8?q?=E7=AE=87=E6=89=80=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull_request.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b4866ee..3ad6fda 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -23,7 +23,7 @@ jobs: - name: archive run: | xcodebuild archive CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -project ./ci-sample.xcodeproj -scheme ci-sample -configuration Release -archivePath ./ci-sample_release - - name: upload testflight + - name: build env: AUTHKEY_P8_BASE64: ${{ secrets.AUTHKEY_P8_BASE64 }} ISSUER_ID: ${{ secrets.ISSUER_ID }} @@ -31,7 +31,6 @@ jobs: run: | echo "${AUTHKEY_P8_BASE64}" | base64 -d > "${PWD}/Authkey.p8" xcodebuild -exportArchive -archivePath ci-sample_release.xcarchive -exportPath ./build_result -exportOptionsPlist ./ExportOptionsAppStoreConnect.plist -allowProvisioningUpdates -authenticationKeyIssuerID "${ISSUER_ID}" -authenticationKeyID "${KEY_ID}" -authenticationKeyPath "${PWD}/Authkey.p8" - ls -l ./build_result - name: upload app store connect env: ISSUER_ID: ${{ secrets.ISSUER_ID }} @@ -41,7 +40,6 @@ jobs: mkdir ./private_keys echo -n "${AUTHKEY_P8_BASE64}" | base64 -d --output ./private_keys/AuthKey_${KEY_ID}.p8 - ls -l ./build_result xcrun altool --validate-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" xcrun altool --upload-app -f ./build_result/ci-sample.ipa -t ios --apiKey "${KEY_ID}" --apiIssuer "${ISSUER_ID}" - name: archive From 595647dd1b58294f1bce27a7dd78a5356489a921 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 06:42:45 +0900 Subject: [PATCH 11/13] =?UTF-8?q?=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=AE=E8=87=AA=E5=8B=95=E3=82=A4=E3=83=B3=E3=82=AF?= =?UTF-8?q?=E3=83=AA=E3=83=A1=E3=83=B3=E3=83=88=E3=82=92=E3=81=A8=E3=82=81?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ExportOptionsAppStoreConnect.plist | 2 +- ci-sample/Info.plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ExportOptionsAppStoreConnect.plist b/ExportOptionsAppStoreConnect.plist index 798c374..f14ec32 100644 --- a/ExportOptionsAppStoreConnect.plist +++ b/ExportOptionsAppStoreConnect.plist @@ -5,7 +5,7 @@ destination export manageAppVersionAndBuildNumber - + method app-store-connect provisioningProfiles diff --git a/ci-sample/Info.plist b/ci-sample/Info.plist index f8eec6a..3014868 100644 --- a/ci-sample/Info.plist +++ b/ci-sample/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString 1.0.0 CFBundleVersion - 3 + cloudsigning30 LSRequiresIPhoneOS UILaunchStoryboardName From 6f9fcd50927e07865b6f0c4a6081943c4daf5f20 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 27 Apr 2025 06:47:42 +0900 Subject: [PATCH 12/13] =?UTF-8?q?=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci-sample/Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-sample/Info.plist b/ci-sample/Info.plist index 3014868..61371ad 100644 --- a/ci-sample/Info.plist +++ b/ci-sample/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString 1.0.0 CFBundleVersion - cloudsigning30 + 40 LSRequiresIPhoneOS UILaunchStoryboardName From 6e85158a0692c240e73651308afd16fd0d4aebfa Mon Sep 17 00:00:00 2001 From: tarappo Date: Fri, 6 Jun 2025 17:19:07 +0900 Subject: [PATCH 13/13] =?UTF-8?q?=E6=8C=87=E5=AE=9A=E3=81=AE=E4=BB=95?= =?UTF-8?q?=E6=96=B9=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/labeler.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 5ae06dc..fa2f7cf 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -31,5 +31,4 @@ Fastlane: - fastlane/* WIP: -- title: ["*WIP*"] - + - title: ["*WIP*"]