<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/AppStore/Platform",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit03AppA0O8PlatformV"
  },
  "title" : "AppStore.Platform"
}
-->

# AppStore.Platform

Values that represent Apple platforms.

```
struct Platform
```

## Discussion

You choose a platform for your app when you add the new app in App Store Connect. For more information, see [Add a new app](https://developer.apple.com/help/app-store-connect/create-an-app-record/add-a-new-app/).

The platform values in `AppStore.Platform` are the same as those in App Store Connect.

## Topics

### Getting platform values

[`iOS`](/documentation/StoreKit/AppStore/Platform/iOS)

A value that indicates the iOS platform.

[`macOS`](/documentation/StoreKit/AppStore/Platform/macOS)

A value that indicates the macOS platform.

[`tvOS`](/documentation/StoreKit/AppStore/Platform/tvOS)

A value that indicates the tvOS platform.

[`visionOS`](/documentation/StoreKit/AppStore/Platform/visionOS)

A value that indicates the visionOS platform.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)