diff --git a/Autoupdate/SPUInstallerValidation.m b/Autoupdate/SPUInstallerValidation.m index 3f33c2cb..56848419 100644 --- a/Autoupdate/SPUInstallerValidation.m +++ b/Autoupdate/SPUInstallerValidation.m @@ -13,7 +13,7 @@ #import "SUCodeSigningVerifier.h" #ifdef _APPKITDEFINES_H -#error This is a "core" class and should NOT import AppKit +#error This is a "daemon-safe" class and should NOT import AppKit #endif @implementation SPUInstallerValidation diff --git a/Sparkle/SUUpdateValidator.m b/Sparkle/SUUpdateValidator.m index ed5e3436..d6c49dc1 100644 --- a/Sparkle/SUUpdateValidator.m +++ b/Sparkle/SUUpdateValidator.m @@ -12,6 +12,10 @@ #import "SUHost.h" #import "SULog.h" +#ifdef _APPKITDEFINES_H +#error This is a "daemon-safe" class and should NOT import AppKit +#endif + @interface SUUpdateValidator () @property (nonatomic, readonly) SUHost *host;