diff --git a/Tests/SUCodeSigningVerifierTest.m b/Tests/SUCodeSigningVerifierTest.m index f52dae7b..8f68185c 100644 --- a/Tests/SUCodeSigningVerifierTest.m +++ b/Tests/SUCodeSigningVerifierTest.m @@ -12,7 +12,12 @@ #import "SUAdHocCodeSigning.h" #import "SUFileManager.h" +#if defined(__MAC_10_15) +// In macOS 10.15 and later, pre-installed apps are installed under the System folder +#define CALCULATOR_PATH @"/System/Applications/Calculator.app" +#else #define CALCULATOR_PATH @"/Applications/Calculator.app" +#endif @interface SUCodeSigningVerifierTest : XCTestCase