pub enum SigningValidationError {
Show 46 variants
MissingSigningReference,
MissingSigningPasswordReference,
MissingDevelopmentTeam,
MissingDevice,
SigningReferencesForbiddenForUnsigned,
ProvisioningUpdatesForbiddenForUnsigned,
InvalidTeamIdentifier,
InvalidDeviceIdentifier,
InvalidBundleIdentifier,
InvalidTargetName,
InvalidCertificateName,
InvalidCertificateFingerprint,
InvalidProvisioningProfileIdentifier,
InvalidProvisioningProfileName,
InvalidProvisioningProfileDates,
InvalidEntitlementKey {
index: Option<usize>,
},
InvalidEntitlementValue {
key: Option<String>,
reason: EntitlementValueError,
},
MissingApplicationTarget,
MultipleApplicationTargets,
DuplicateTarget {
target: String,
},
DuplicateBundleIdentifier {
bundle_identifier: String,
},
UnknownProvisioningTarget {
target: String,
},
AmbiguousProvisioningProfile {
target: String,
},
MissingProvisioningProfile {
target: String,
},
UnknownEntitlementTarget {
target: String,
},
DuplicateEntitlementPlan {
target: String,
},
MissingEntitlementPlan {
target: String,
},
CertificateExpired,
CertificateTypeMismatch,
CertificatePrivateKeyMismatch,
CertificateTeamMismatch,
ProfileExpired,
ProfileNotYetValid,
ProfilePlatformMismatch,
ProfileTypeMismatch,
ProfileTeamMismatch,
ProfileCertificateMismatch,
ProfileBundleIdentifierMismatch,
ApplicationIdentifierMismatch,
DeviceNotProvisioned,
ExtensionProfileRequired {
target: String,
},
MissingEntitlement {
target: String,
key: String,
},
EntitlementMismatch {
target: String,
key: String,
},
AppGroupMismatch,
GetTaskAllowMismatch,
InvalidStatusTransition {
from: SigningStatus,
to: SigningStatus,
},
}Expand description
Reason a signing plan, profile, entitlement, or validation stage failed.
Variants§
MissingSigningReference
Signed mode omitted the opaque identity reference.
MissingSigningPasswordReference
Manual development mode omitted the encrypted identity password reference.
MissingDevelopmentTeam
Signed mode omitted a development team.
MissingDevice
Device-bound mode omitted a registered device.
SigningReferencesForbiddenForUnsigned
Unsigned mode attempted to carry signing/profile references.
ProvisioningUpdatesForbiddenForUnsigned
Unsigned mode enabled Xcode provisioning updates.
InvalidTeamIdentifier
Apple Team ID or its public label was malformed.
InvalidDeviceIdentifier
Device identifier or its public label was malformed.
InvalidBundleIdentifier
Bundle identifier was malformed or contained a wildcard.
InvalidTargetName
Target name was unsafe for protocol use.
InvalidCertificateName
Certificate public name was malformed.
InvalidCertificateFingerprint
Certificate fingerprint was not a SHA-256 hex digest.
InvalidProvisioningProfileIdentifier
Provisioning profile UUID was malformed.
InvalidProvisioningProfileName
Provisioning profile public name was malformed.
InvalidProvisioningProfileDates
Provisioning profile creation/expiration ordering was invalid.
InvalidEntitlementKey
Entitlement key was empty, oversized, or malformed.
InvalidEntitlementValue
Entitlement value cannot be represented safely as a bounded plist value.
Fields
reason: EntitlementValueErrorStructural reason; value content is never included.
MissingApplicationTarget
No main application target was supplied.
MultipleApplicationTargets
More than one main application target was supplied.
DuplicateTarget
Target name appeared more than once.
DuplicateBundleIdentifier
Bundle identifier appeared on more than one target.
UnknownProvisioningTarget
Provisioning plan referred to an unknown target.
AmbiguousProvisioningProfile
More than one profile matched or was assigned to a target.
MissingProvisioningProfile
Signed application or extension omitted a profile.
UnknownEntitlementTarget
Entitlement plan referred to an unknown target.
DuplicateEntitlementPlan
Target had multiple entitlement plans.
MissingEntitlementPlan
Signed application or extension omitted entitlement expectations.
CertificateExpired
Certificate has expired.
CertificateTypeMismatch
Certificate type is not valid for the selected mode.
CertificatePrivateKeyMismatch
Certificate does not match the referenced private key.
CertificateTeamMismatch
Certificate and expected development team differ.
ProfileExpired
Provisioning profile has expired.
ProfileNotYetValid
Provisioning profile creation time is in the future.
ProfilePlatformMismatch
Provisioning profile is not an iOS-device profile.
ProfileTypeMismatch
Provisioning profile type does not match the mode.
ProfileTeamMismatch
Provisioning profile and expected team differ.
ProfileCertificateMismatch
Provisioning profile and certificate are incompatible.
ProfileBundleIdentifierMismatch
Provisioning profile and target bundle identifier differ.
ApplicationIdentifierMismatch
Profile application-identifier does not match team and bundle.
DeviceNotProvisioned
Requested registered device is absent from the profile.
ExtensionProfileRequired
Required extension has no separate compatible profile.
MissingEntitlement
Signed entitlements omitted one required key.
EntitlementMismatch
Signed/profile/requested values disagree for one entitlement.
Fields
AppGroupMismatch
Main application and extension application groups differ.
GetTaskAllowMismatch
get-task-allow does not match the signing mode.
InvalidStatusTransition
Signing lifecycle attempted to skip, repeat, or resume a stage.
Trait Implementations§
Source§impl Clone for SigningValidationError
impl Clone for SigningValidationError
Source§impl Debug for SigningValidationError
impl Debug for SigningValidationError
Source§impl<'de> Deserialize<'de> for SigningValidationError
impl<'de> Deserialize<'de> for SigningValidationError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for SigningValidationError
impl Display for SigningValidationError
impl Eq for SigningValidationError
Source§impl Error for SigningValidationError
impl Error for SigningValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl JsonSchema for SigningValidationError
impl JsonSchema for SigningValidationError
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for SigningValidationError
impl PartialEq for SigningValidationError
Source§impl Serialize for SigningValidationError
impl Serialize for SigningValidationError
impl StructuralPartialEq for SigningValidationError
Auto Trait Implementations§
impl Freeze for SigningValidationError
impl RefUnwindSafe for SigningValidationError
impl Send for SigningValidationError
impl Sync for SigningValidationError
impl Unpin for SigningValidationError
impl UnsafeUnpin for SigningValidationError
impl UnwindSafe for SigningValidationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.