Struct apple_bundle::info_plist::bundle_configuration::OperatingSystemVersion[][src]

pub struct OperatingSystemVersion {
    pub minimum_system_version: Option<String>,
    pub minimum_system_version_by_architecture: Option<MinimumSystemVersionByArchitecture>,
    pub minimum_os_version: Option<String>,
    pub requires_iphone_os: Option<bool>,
    pub watch_kit_app: Option<bool>,
}
Expand description

Operating System Version

Fields

minimum_system_version: Option<String>

The minimum operating system version required for the app to run.

The Mac App Store uses this key to indicate the OS releases on which your app can run and show compatibility with the user’s Mac.

Availability

  • macOS 10.0+

Framework

  • Core Services
minimum_system_version_by_architecture: Option<MinimumSystemVersionByArchitecture>

The minimum version of macOS required for the app to run on a set of architectures.

Availability

  • macOS 10.0+

Framework

  • Core Services
minimum_os_version: Option<String>

The minimum operating system version required for the app to run on iOS, tvOS, and watchOS.

The App Store uses this key to indicate the OS releases on which your app can run.

Availability

  • macOS 3.0+
  • tvOS 9.0+
  • watchOS 2.0+

Framework

  • Core Services
requires_iphone_os: Option<bool>

A Boolean value indicating whether the app must run in iOS.

Availability

  • iOS 12.0+

Framework

  • Core Services
watch_kit_app: Option<bool>

A Boolean value that indicates whether the bundle is a watchOS app.

Xcode automatically includes this key in the WatchKit app’s information property list when you create a watchOS project from a template.

Availability

  • watchOS 2.0+

Framework

  • WatchKit

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.