From ff76e137270d6f95fbd2cd03dbbc4415748b841e Mon Sep 17 00:00:00 2001 From: Kai Azim Date: Sat, 6 Jul 2024 23:36:51 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Update=20provision=20profile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev-build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index a17f27e7..81335425 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -39,17 +39,19 @@ jobs: echo "FROM_TAG=$FROM_TAG" >> $GITHUB_ENV - name: 🔧 Select Xcode - run: sudo xcode-select -s "/Applications/Xcode_15.4.app" + run: sudo xcode-select -s "/Applications/Xcode_16.0.app" - name: 🎟️ Install Certificate env: DEVELOPMENT_CERT_BASE64: ${{ secrets.DEVELOPMENT_CERT_BASE64 }} DEVELOPER_ID_CERT_BASE64: ${{ secrets.DEVELOPER_ID_CERT_BASE64 }} + PROVISION_PROFILE_B64: ${{ secrets.PROVISION_PROFILE_B64 }} P12_PASSWORD: ${{ secrets.P12_PASSWORD }} KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} run: | DEVELOPMENT_CERT_PATH=$RUNNER_TEMP/dev.p12 DEVELOPER_ID_CERT_PATH=$RUNNER_TEMP/devid.p12 + PROVISION_PROFILE_PATH="$RUNNER_TEMP/provision_profile.provisionprofile" KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db echo -n "$DEVELOPMENT_CERT_BASE64" | base64 --decode -o $DEVELOPMENT_CERT_PATH @@ -64,6 +66,10 @@ jobs: security list-keychain -d user -s $KEYCHAIN_PATH + echo -n "$PROVISION_PROFILE_B64" | base64 --decode --output $PROVISION_PROFILE_PATH + mkdir -p "~/Library/MobileDevice/Provisioning Profiles" + cp "$PROVISION_PROFILE_PATH" "~/Library/MobileDevice/Provisioning Profiles" + - name: 🛠️ Build Loop run: | xcodebuild \ @@ -71,7 +77,6 @@ jobs: -project Loop.xcodeproj/ \ -scheme "Loop (GH ACTIONS)" \ -destination 'generic/platform=macOS' \ - -allowProvisioningUpdates \ -archivePath dist/Loop.xcarchive - name: 🥡 Export Loop.app