Enumerations
The following enumerations are available globally.
-
Describes the type of update check being performed.
Each update check corresponds to an update check method on
See moreSPUUpdater
.Declaration
Objective-C
enum SPUUpdateCheck : NSInteger {}
-
A choice made by the user when prompted with a new update.
See moreDeclaration
Objective-C
enum SPUUserUpdateChoice : NSInteger {}
Swift
enum SPUUserUpdateChoice : Int, @unchecked Sendable
-
Describes the current stage an update is undergoing.
See moreDeclaration
Objective-C
enum SPUUserUpdateStage : NSInteger {}
Swift
enum SPUUserUpdateStage : Int, @unchecked Sendable
-
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(OSStatus, SUError) { // Configuration phase errors SUNoPublicDSAFoundError = 0001, SUInsufficientSigningError = 0002, SUInsecureFeedURLError = 0003, SUInvalidFeedURLError = 0004, SUInvalidUpdaterError = 0005, SUInvalidHostBundleIdentifierError = 0006, SUInvalidHostVersionError = 0007, // Appcast phase errors. SUAppcastParseError = 1000, SUNoUpdateError = 1001, SUAppcastError = 1002, SURunningFromDiskImageError = 1003, SUResumeAppcastError = 1004, SURunningTranslocated = 1005, SUWebKitTerminationError = 1006, SUReleaseNotesError = 1007, // Download phase errors. SUTemporaryDirectoryError = 2000, SUDownloadError = 2001, // Extraction phase errors. SUUnarchivingError = 3000, SUSignatureError = 3001, SUValidationError = 3002, // Installation phase errors. SUFileCopyFailure = 4000, SUAuthenticationFailure = 4001, SUMissingUpdateError = 4002, SUMissingInstallerToolError = 4003, SURelaunchError = 4004, SUInstallationError = 4005, SUDowngradeError = 4006, SUInstallationCanceledError = 4007, SUInstallationAuthorizeLaterError = 4008, SUNotValidUpdateError = 4009, SUAgentInvalidationError = 4010, SUInstallationRootInteractiveError = 4011, SUInstallationWriteNoPermissionError = 4012, // API misuse errors. SUIncorrectAPIUsageError = 5000 }
Swift
enum SUError : OSStatus, @unchecked Sendable
-
The reason why a new update is not available.
See moreDeclaration
Objective-C
enum SPUNoUpdateFoundReason : OSStatus {}
Swift
enum SPUNoUpdateFoundReason : OSStatus, @unchecked Sendable