name: Screens
options:
  bundleIdPrefix: com.tt.screens
  deploymentTarget:
    iOS: "18.0"
  developmentLanguage: en
  xcodeVersion: "16.0"
settings:
  base:
    SWIFT_VERSION: "6.0"
    SWIFT_STRICT_CONCURRENCY: complete
    ENABLE_USER_SCRIPT_SANDBOXING: YES
    CODE_SIGN_STYLE: Automatic
    DEVELOPMENT_TEAM: V3PF3M6B6U

packages:
  VNCCore:
    path: Packages/VNCCore
  VNCUI:
    path: Packages/VNCUI

targets:
  Screens:
    type: application
    platform: iOS
    deploymentTarget: "18.0"
    sources:
      - path: Screens
        excludes:
          - Resources/Info.plist
      - path: Screens/Resources/PrivacyInfo.xcprivacy
        type: file
        buildPhase: resources
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: com.tt.screens
        PRODUCT_NAME: Screens
        TARGETED_DEVICE_FAMILY: "1,2"
        GENERATE_INFOPLIST_FILE: NO
        INFOPLIST_FILE: Screens/Resources/Info.plist
        SWIFT_EMIT_LOC_STRINGS: YES
    dependencies:
      - package: VNCCore
        product: VNCCore
      - package: VNCUI
        product: VNCUI

  ScreensUITests:
    type: bundle.ui-testing
    platform: iOS
    deploymentTarget: "18.0"
    sources:
      - path: ScreensUITests
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: com.tt.screens.uitests
        TEST_TARGET_NAME: Screens
        GENERATE_INFOPLIST_FILE: YES
    dependencies:
      - target: Screens
