pub enum ProfileType {
Show 14 variants
IosAppDevelopment,
IosAppStore,
IosAppAdHoc,
IosAppInHouse,
MacAppDevelopment,
MacAppStore,
MacAppDirect,
TvOsAppDevelopment,
TvOsAppStore,
TvOsAppAdHoc,
TvOsAppInHouse,
MacCatalystAppDevelopment,
MacCatalystAppStore,
MacCatalystAppDirect,
}Expand description
The kind of profile, which fixes both the distribution channel and whether a device list applies.
The *Development and *AdHoc variants are device-scoped: a build
signed with one runs only on hardware in the profile’s device list.
The *AppStore and *InHouse variants are not, and Apple rejects a
create request that sends devices for them.
Self::MacAppStore is the one to use for a Mac App Store submission;
Self::MacAppDirect is Developer ID distribution outside the store
and is a different signing path entirely.
Variants§
IosAppDevelopment
IosAppStore
IosAppAdHoc
IosAppInHouse
MacAppDevelopment
MacAppStore
Mac App Store distribution — the profile a productbuild submission
embeds as Contents/embedded.provisionprofile.
MacAppDirect
TvOsAppDevelopment
TvOsAppStore
TvOsAppAdHoc
TvOsAppInHouse
MacCatalystAppDevelopment
MacCatalystAppStore
MacCatalystAppDirect
Implementations§
Source§impl ProfileType
impl ProfileType
Sourcepub fn as_api_str(self) -> &'static str
pub fn as_api_str(self) -> &'static str
The string App Store Connect uses, for building
filter[profileType] query values without going through serde.
Sourcepub fn takes_devices(self) -> bool
pub fn takes_devices(self) -> bool
Whether Apple expects a device list for this profile type.
Sending devices for a store profile is an error rather than a harmless extra, so callers building a create request need to know this before they assemble relationships.