Fix SUCodeSigningVerifierTest on macOS 10.15

Pre-installed apps, such as Calculator, are now installed under the System folder
This commit is contained in:
Rajiv Shah committed 2020-05-26 00:46:50 -04:00
1 parent 1690ce6cbc
commit df718b0c4c
1 file changed
+5
+5
View File
@@ -11,7 +11,12 @@
#import "SUCodeSigningVerifier.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