mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-07 08:04:04 +01:00
ci(macos): restore LibTorch.framework's symlinks before signing
torch_dart's prebuilt tarball stores the framework's Versions/Current, top-level binary and Resources as copies of Versions/A, and codesign refuses the result as an ambiguous bundle, failing the app's signature. relink_framework.sh puts the three symlinks back, after checking that every copy it replaces matches Versions/A byte for byte.
This commit is contained in:
@@ -169,6 +169,10 @@ jobs:
|
||||
tar -xzf torch_dart.tar.gz -C torch_dart
|
||||
rm torch_dart.tar.gz
|
||||
popd
|
||||
# The tarball is packed on Linux with the framework's symlinks stored
|
||||
# as copies, which codesign refuses as an ambiguous bundle.
|
||||
scripts/macos/relink_framework.sh \
|
||||
scripts/torch_dart/macos/LibTorch.xcframework/macos-arm64_x86_64/LibTorch.framework
|
||||
|
||||
- name: Fetch prebuilt reown_flutter
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user