Skip to content

Commit 9651858

Browse files
jakepetroulesshazron
authored andcommitted
Bring list of error messages up-to-date (ios-control#322)
Automatically generated using MobileDevice.framework private APIs. Xcode 9.1 and macOS 10.13.1.
1 parent 8abf92f commit 9651858

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

src/ios-deploy/errors.h

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,25 @@ static errorcode_to_id_t errorcode_to_id[] = {
253253
{ 0xe80000d9, "This app contains a WatchKit app with an invalid bundle identifier. The bundle identifier of a WatchKit app must have a prefix consisting of the companion app's bundle identifier, followed by a '.'." },
254254
{ 0xe80000da, "This app contains a WatchKit app where the UIDeviceFamily key in its Info.plist does not specify the value 4 to indicate that it's compatible with the Apple Watch device type." },
255255
{ 0xe80000db, "The device is out of storage for apps. Please remove some apps from the device and try again." },
256+
{ 0xe80000dc, "This app or an app that it contains has a Siri Intents app extension that is missing the IntentsSupported array in the NSExtensionAttributes dictionary in the NSExtension dictionary in its Info.plist." },
257+
{ 0xe80000dd, "This app or an app that it contains has a Siri Intents app extension that does not correctly define the IntentsRestrictedWhileLocked key in the NSExtensionAttributes dictionary in the NSExtension dictionary in its Info.plist. The key's value must be an array of strings." },
258+
{ 0xe80000de, "This app or an app that it contains has a Siri Intents app extension that declares values in its IntentsRestrictedWhileLocked key's array value that are not in its IntentsSupported key's array value (in the NSExtensionAttributes dictionary in the NSExtension dictionary in its Info.plist)." },
259+
{ 0xe80000df, "This app or an app that it contains declares multiple Siri Intents app extensions that declare one or more of the same values in the IntentsSupported array in the NSExtensionAttributes dictionary in the NSExtension dictionary in their Info.plist. IntentsSupported must be distinct among a given Siri Intents extension type within an app." },
260+
{ 0xe80000e0, "The WatchKit 2.0 app, which expects to be compatible with watchOS versions earlier than 3.0, contains a non-WatchKit extension in a location that's not compatible with watchOS versions earlier than 3.0." },
261+
{ 0xe80000e1, "The WatchKit 2.0 app, which expects to be compatible with watchOS versions earlier than 3.0, contains a framework in a location that's not compatible with watchOS versions earlier than 3.0." },
262+
{ 0xe80000e2, "kAMDMobileImageMounterDeviceLocked" },
263+
{ 0xe80000e3, "kAMDInvalidSINFError" },
264+
{ 0xe80000e4, "Multiple iMessage app extensions were found in this app. Only one is allowed." },
265+
{ 0xe80000e5, "This iMessage application is missing its required iMessage app extension." },
266+
{ 0xe80000e6, "This iMessage application contains an app extension type other than an iMessage app extension. iMessage applications may only contain one iMessage app extension and may not contain other types of app extensions." },
267+
{ 0xe80000e7, "This app contains a WatchKit app with one or more Siri Intents app extensions that declare IntentsSupported that are not declared in any of the companion app's Siri Intents app extensions. WatchKit Siri Intents extensions' IntentsSupported values must be a subset of the companion app's Siri Intents extensions' IntentsSupported values." },
268+
{ 0xe80000e8, "kAMDRequireCUPairingCodeError" },
269+
{ 0xe80000e9, "kAMDRequireCUPairingBackoffError" },
270+
{ 0xe80000ea, "kAMDCUPairingError" },
271+
{ 0xe80000eb, "kAMDCUPairingContinueError" },
272+
{ 0xe80000ec, "kAMDCUPairingResetError" },
273+
{ 0xe80000ed, "kAMDRequireCUPairingError" },
274+
{ 0xe80000ee, "kAMDPasswordRequiredError" },
256275

257276
// Errors without id->string mapping.
258277
{ 0xe8008001, "An unknown error has occurred." },
@@ -285,6 +304,16 @@ static errorcode_to_id_t errorcode_to_id[] = {
285304
{ 0xe800801c, "No code signature found." },
286305
{ 0xe800801d, "Rejected by policy." },
287306
{ 0xe800801e, "The requested profile does not exist (it may have been removed)." },
307+
{ 0xe800801f, "Attempted to install a Beta profile without the proper entitlement." },
308+
{ 0xe8008020, "Attempted to install a Beta profile over lockdown connection." },
309+
{ 0xe8008021, "The maximum number of apps for free development profiles has been reached." },
310+
{ 0xe8008022, "An error occured while accessing the profile database." },
311+
{ 0xe8008023, "An error occured while communicating with the agent." },
312+
{ 0xe8008024, "The provisioning profile is banned." },
313+
{ 0xe8008025, "The user did not explicitly trust the provisioning profile." },
314+
{ 0xe8008026, "The provisioning profile requires online authorization." },
315+
{ 0xe8008027, "The cdhash is not in the trust cache." },
316+
{ 0xe8008028, "Invalid arguments or option combination." },
288317
};
289318

290319
const int errorcode_to_id_count = sizeof(errorcode_to_id) / sizeof(errorcode_to_id_t);
@@ -307,6 +336,9 @@ error_id_to_message_t error_id_to_message[] = {
307336
{ "kAMDBundleVerificationFailedError", "The carrier bundle could not be verified." },
308337
{ "kAMDBundleiTunesMetadataVersionMismatchError", "This application's iTunesMetadata.plist specifies versions that do not match the versions listed for the app in its Info.plist" },
309338
{ "kAMDBusyError", "The device is busy." },
339+
{ "kAMDCUPairingContinueError", "Continue pairing process over the network." },
340+
{ "kAMDCUPairingError", "General failure while pairing over the network." },
341+
{ "kAMDCUPairingResetError", "Pairing was reset due to earlier issues, try again." },
310342
{ "kAMDCannotTranslateError", "Could not translate messages from device" },
311343
{ "kAMDCarrierBundleCopyFailedError", "Could not install the carrier bundle." },
312344
{ "kAMDCarrierBundleDirectoryCreationFailedError", "Could not create the carrier bundle directory." },
@@ -352,6 +384,7 @@ error_id_to_message_t error_id_to_message[] = {
352384
{ "kAMDInvalidHostIDError", "The device does not recognize this host." },
353385
{ "kAMDInvalidPairRecordError", "The host is no longer paired with the device." },
354386
{ "kAMDInvalidResponseError", "Received an unexpected response from the device." },
387+
{ "kAMDInvalidSINFError", "The encryption information included with this application is not valid so this application cannot be installed on this device." },
355388
{ "kAMDInvalidServiceError", "The service is invalid." },
356389
{ "kAMDInvalidSessionIDError", "The session ID is invalid." },
357390
{ "kAMDInvalidSymlinkError", "The bundle contained an invalid symlink." },
@@ -384,7 +417,8 @@ error_id_to_message_t error_id_to_message[] = {
384417
{ "kAMDMissingServiceError", "The service is missing." },
385418
{ "kAMDMissingSessionIDError", "The session ID is missing." },
386419
{ "kAMDMissingValueError", "The value is missing." },
387-
{ "kAMDMobileImageMounterAlreadyMounted", "Could not support development." },
420+
{ "kAMDMobileImageMounterAlreadyMounted", "Image is already mounted." },
421+
{ "kAMDMobileImageMounterDeviceLocked", "The device is locked." },
388422
{ "kAMDMobileImageMounterDigestCreationFailed", "Could not support development." },
389423
{ "kAMDMobileImageMounterDigestFailed", "Could not support development." },
390424
{ "kAMDMobileImageMounterImageInfoCreationFailed", "Could not support development." },
@@ -420,6 +454,7 @@ error_id_to_message_t error_id_to_message[] = {
420454
{ "kAMDPairingDialogResponsePendingError", "The user has not yet responded to the pairing request." },
421455
{ "kAMDPairingProhibitedError", "Pairing only allowed over USB." },
422456
{ "kAMDPasswordProtectedError", "The device is passcode protected." },
457+
{ "kAMDPasswordRequiredError", "A passcode is required to be set on the device." },
423458
{ "kAMDPathConversionFailedError", "Could not convert the path." },
424459
{ "kAMDPermissionError", "You do not have permission." },
425460
{ "kAMDPluginCopyFailedError", "Could not copy VPN Plugin into app container." },
@@ -428,6 +463,9 @@ error_id_to_message_t error_id_to_message[] = {
428463
{ "kAMDReadError", "Could not read from the device." },
429464
{ "kAMDReceiveMessageError", "Could not receive a message from the device." },
430465
{ "kAMDRemoveProhibitedError", "Cannot remove value on device." },
466+
{ "kAMDRequireCUPairingBackoffError", "Retry later." },
467+
{ "kAMDRequireCUPairingCodeError", "Invalid PIN code entered." },
468+
{ "kAMDRequireCUPairingError", "Cannot pair over network yet" },
431469
{ "kAMDRestoreContainerFailedError", "Could not restore the application container." },
432470
{ "kAMDSUFirmwareError", "Could not flash the firmware." },
433471
{ "kAMDSUPatchError", "Could not patch the file." },

0 commit comments

Comments
 (0)