name: MagnumOpus
options:
  bundleIdPrefix: de.felixfoertsch
  deploymentTarget:
    macOS: "15.0"
    iOS: "18.0"
  xcodeVersion: "16.0"
  indentWidth: 4
  tabWidth: 4
  usesTabs: true
packages:
  MagnumOpusCore:
    path: ../Packages/MagnumOpusCore
targets:
  MagnumOpus-macOS:
    type: application
    platform: macOS
    sources:
      - path: MagnumOpus
    settings:
      base:
        PRODUCT_NAME: MagnumOpus
        PRODUCT_BUNDLE_IDENTIFIER: de.felixfoertsch.MagnumOpus
        DEVELOPMENT_TEAM: NG5W75WE8U
        SWIFT_STRICT_CONCURRENCY: complete
        SWIFT_VERSION: "6.0"
        MACOSX_DEPLOYMENT_TARGET: "15.0"
        MARKETING_VERSION: "2026.03.13"
        GENERATE_INFOPLIST_FILE: YES
    dependencies:
      - package: MagnumOpusCore
        product: Models
      - package: MagnumOpusCore
        product: MailStore
      - package: MagnumOpusCore
        product: IMAPClient
      - package: MagnumOpusCore
        product: SyncEngine
      - package: MagnumOpusCore
        product: SMTPClient
  MagnumOpus-iOS:
    type: application
    platform: iOS
    sources:
      - path: MagnumOpus
    settings:
      base:
        PRODUCT_NAME: MagnumOpus
        PRODUCT_BUNDLE_IDENTIFIER: de.felixfoertsch.MagnumOpus
        DEVELOPMENT_TEAM: NG5W75WE8U
        SWIFT_STRICT_CONCURRENCY: complete
        SWIFT_VERSION: "6.0"
        IPHONEOS_DEPLOYMENT_TARGET: "18.0"
        TARGETED_DEVICE_FAMILY: "1,2"
        MARKETING_VERSION: "2026.03.13"
        GENERATE_INFOPLIST_FILE: YES
    dependencies:
      - package: MagnumOpusCore
        product: Models
      - package: MagnumOpusCore
        product: MailStore
      - package: MagnumOpusCore
        product: IMAPClient
      - package: MagnumOpusCore
        product: SyncEngine
      - package: MagnumOpusCore
        product: SMTPClient
  MagnumOpusTests:
    type: bundle.unit-test
    platform: macOS
    sources:
      - path: MagnumOpusTests
    dependencies:
      - target: MagnumOpus-macOS
    settings:
      base:
        SWIFT_VERSION: "6.0"
        GENERATE_INFOPLIST_FILE: YES
