'How to avoid to have is bundle app quarantine flagged by MacOS on Mac M1?

everytime I share a bundle app to a friend, he get his .app quarantine-flagged and he need to use xattr -c "Bundle.app". How to avoid that ?



Solution 1:[1]

Join the Apple developer Program (https://developer.apple.com/programs/) and then you can code sign and have Apple notarize your applications.

See: https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution for more information.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Trev