// swift-tools-version:5.5

import AppleProductTypes
import PackageDescription

let package = Package(
  name: "nWorkout",
  platforms: [
    .iOS("15.2")
  ],
  products: [
    .iOSApplication(
      name: "nWorkout",
      targets: ["AppModule"],
      bundleIdentifier: "io.lanza.nWorkout",
      teamIdentifier: "72MNHNDUNH",
      displayVersion: "1.0",
      bundleVersion: "1",
      iconAssetName: "AppIcon",
      accentColorAssetName: "AccentColor",
      supportedDeviceFamilies: [
        .pad,
        .phone,
      ],
      supportedInterfaceOrientations: [
        .portrait,
        .landscapeRight,
        .landscapeLeft,
        .portraitUpsideDown(.when(deviceFamilies: [.pad])),
      ]
    )
  ],
  targets: [
    .executableTarget(
      name: "AppModule",
      path: "."
    )
  ]
)
