diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 929b9b36..6071a817 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -105,6 +105,12 @@ jobs: run: sh scripts/xcframeworkgen.sh env: BACKTRACE_VERSION: ${{ github.ref_name }} + + - name: Codesign frameworks + env: + DISTRIBUTION_IDENTITY: ${{ secrets.DISTRIBUTION_IDENTITY }} + run: + codesign --force --timestamp --deep --sign "$DISTRIBUTION_IDENTITY" Backtrace.xcframework - name: Tar files to preserve file permissions run: tar -cvzf Archive_XCFrameworks_${{ github.ref_name }}.tar.gz frameworks/ diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 5e58544a..582a8f97 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -6,4 +6,4 @@ set -o xtrace # to trace what gets executed. Useful for debugging # This script requires the `COCOAPODS_TRUNK_TOKEN` env var to be set. # See more: https://fuller.li/posts/automated-cocoapods-releases-with-ci/. -pod trunk push Backtrace.podspec --allow-warnings +#pod trunk push Backtrace.podspec --allow-warnings