Skip to content

Commit

Permalink
prebuilt-tdlib: fix codesigning on macos arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
eilvelia committed Jul 21, 2024
1 parent 7732f42 commit c5976db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prebuilt-tdlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
run: |
cd packages/prebuilt-tdlib/ci
./build-macos.sh ${{ inputs.tdlib }}
- name: Verify codesigning
run: codesign -v ${{ env.TO_UPLOAD }}/libtdjson.dylib
- uses: actions/upload-artifact@v4
with:
name: temp-macos-arm64
Expand Down
2 changes: 2 additions & 0 deletions packages/prebuilt-tdlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ The building process is significantly changed in this update.
instead of 2.17.
- Added a crosscompiled prebuild for Linux arm64.

Fix (2024-07-21): Fixed codesigning on macOS arm64.

### 2024-05-08

First published as `prebuilt-tdlib@td-1.8.29`.
Expand Down
2 changes: 2 additions & 0 deletions packages/prebuilt-tdlib/ci/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ install_name_tool -change \
'/usr/lib/libc++.1.dylib' \
libtdjson.dylib

codesign -s - --force libtdjson.dylib

# Info
otool -L libtdjson.dylib
otool -l libtdjson.dylib
Expand Down

0 comments on commit c5976db

Please sign in to comment.