~ knotless Search/
↑↓ move↵ open⇧↵ all results

geesawra.industries/hydraulophone

An unofficial YouTube Music app for iPhone, iPad, and Mac.

0
0
main
159 lines · 4.6 KB Raw History
name: Hydraulophone

options:
  minimumXcodeGenVersion: 2.46.0
  projectFormat: xcode16_0
  deploymentTarget:
    iOS: "17.0"
    macCatalyst: "17.0"

packages:
  SwiftOpus:
    url: https://github.com/alta/swift-opus.git
    revision: 6f3cb6bd3ffed1fe5f06d00a962d5c191a50daf8

settings:
  base:
    SWIFT_VERSION: "5.0"
    IPHONEOS_DEPLOYMENT_TARGET: "17.0"
    MACCATALYST_DEPLOYMENT_TARGET: "17.0"
    DEVELOPMENT_TEAM: ""

targets:
  HydraulophoneCore:
    type: framework
    platform: iOS
    sources:
      - path: Sources/HydraulophoneCore
        excludes:
          - Resources/YouTubeKit
      - path: Sources/HydraulophoneCore/Resources/YouTubeKit
        type: folder
        buildPhase: resources
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: com.hydraulophone.core
        PRODUCT_NAME: HydraulophoneCore
        SUPPORTS_MACCATALYST: YES
        SKIP_INSTALL: YES
        BUILD_LIBRARY_FOR_DISTRIBUTION: NO
        GENERATE_INFOPLIST_FILE: YES
    schemes:
      HydraulophoneCore:
        testTargets:
          - HydraulophoneCoreTests

  Hydraulophone:
    type: application
    platform: iOS
    sources:
      - path: Sources/HydraulophoneApp
        excludes:
          - Resources
      - path: .build/generated/LastFMBuildConfiguration.swift
      - path: Config/PublicJNNKey.txt
        buildPhase: resources
      - path: Sources/HydraulophoneApp/Resources/proof_of_origin.html
        buildPhase: resources
      - path: Sources/HydraulophoneApp/Resources/PROOF_OF_ORIGIN_LICENSES.md
        buildPhase: resources
      - path: Sources/HydraulophoneApp/Resources/OPUS_LICENSES.txt
        buildPhase: resources
      - path: Resources/AppIcon-Watermark-Smooth.icon
        type: file
        buildPhase: resources
    info:
      path: Resources/Info.plist
      properties:
        CFBundleDisplayName: Hydraulophone
        CFBundleShortVersionString: $(MARKETING_VERSION)
        CFBundleVersion: $(CURRENT_PROJECT_VERSION)
        LSRequiresIPhoneOS: true
        UILaunchScreen: {}
        UIBackgroundModes:
          - audio
        UIApplicationSceneManifest:
          UIApplicationSupportsMultipleScenes: true
          UISceneConfigurations:
            CPTemplateApplicationSceneSessionRoleApplication:
              - UISceneConfigurationName: CarPlay
                UISceneClassName: CPTemplateApplicationScene
                UISceneDelegateClassName: $(PRODUCT_MODULE_NAME).CarPlaySceneDelegate
    dependencies:
      - target: HydraulophoneCore
      - package: SwiftOpus
        product: Copus
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: com.hydraulophone.app
        PRODUCT_NAME: Hydraulophone
        MARKETING_VERSION: "1.0"
        CURRENT_PROJECT_VERSION: "1"
        TARGETED_DEVICE_FAMILY: "1,2"
        SUPPORTS_MACCATALYST: YES
        SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: NO
        EXCLUDED_SOURCE_FILE_NAMES[sdk=macosx*]: CarPlaySceneDelegate.swift
        CODE_SIGN_STYLE: Automatic
        CODE_SIGN_ENTITLEMENTS[sdk=iphonesimulator*]: Resources/Hydraulophone.Simulator.entitlements
        CODE_SIGN_ENTITLEMENTS[sdk=iphoneos*]: Resources/Hydraulophone.entitlements
        CODE_SIGN_ENTITLEMENTS[sdk=macosx*]: Resources/Hydraulophone.MacCatalyst.entitlements
        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon-Watermark-Smooth

  HydraulophoneCoreTests:
    type: bundle.unit-test
    platform: iOS
    sources:
      - path: Tests/HydraulophoneCoreTests
    dependencies:
      - target: HydraulophoneCore
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: com.hydraulophone.core.tests
        GENERATE_INFOPLIST_FILE: YES

  HydraulophoneAppTests:
    type: bundle.unit-test
    platform: iOS
    sources:
      - path: Tests/HydraulophoneAppTests
    dependencies:
      - target: Hydraulophone
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: com.hydraulophone.app.tests
        GENERATE_INFOPLIST_FILE: YES
        TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Hydraulophone.app/Hydraulophone"
        BUNDLE_LOADER: "$(TEST_HOST)"

  HydraulophoneUITests:
    type: bundle.ui-testing
    platform: iOS
    sources:
      - path: Tests/HydraulophoneUITests
    dependencies:
      - target: Hydraulophone
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: com.hydraulophone.ui.tests
        GENERATE_INFOPLIST_FILE: YES
        TEST_TARGET_NAME: Hydraulophone

schemes:
  Hydraulophone:
    build:
      targets:
        Hydraulophone: all
    run:
      config: Debug
    test:
      config: Debug
      targets:
        - HydraulophoneCoreTests
        - HydraulophoneAppTests
        - HydraulophoneUITests
    profile:
      config: Release
    analyze:
      config: Debug
    archive:
      config: Release