Skip to content

Commit 6fa71e3

Browse files
committed
Add a note about the need to codesign macOS bundles.
1 parent aaad3d6 commit 6fa71e3

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

osx/HOWTO-CPAN-Universal-Binary.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ If you want/need to build for `x86_64` on a modern `arm64` platform (Apple Silic
4646

4747
Tests might fail on `x86_64` because the script might be running them in the wrong architecture. I'll be lazy and ignore them on `x86_64` using `-t` if they passed on `arm64`.
4848

49+
## Codesign the binaries
50+
51+
All binaries must be signed or notarization of the package will fail:
52+
53+
```bash
54+
codesign --force --options runtime \
55+
--sign "Developer ID Application: Your Name (TEAMID)" \
56+
path/to/your/module.bundle
57+
```
58+
59+
4960
## Old Instructions
5061
*Theoretically you should be able to cross compile on one system. Alas, I didn't succeed building all the binaries following the old instructions. Here they are anyway.*
5162

0 commit comments

Comments
 (0)