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 17:36:42 -04:00
1 parent 58fff9732e
commit aa9e05958d
1 file changed
+5
+5
View File
@@ -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