SPB Git

Repository Public

project.yml 3.8 KB 127 lines yaml

1# Author: Simon-Pierre Boucher — contact@spboucher.ai2# File: project.yml3# Description: XcodeGen definition of SP Chat (native macOS app), its hosted unit tests and its UI tests.4name: SPChat5options:6  bundleIdPrefix: ai.spboucher7  deploymentTarget:8    macOS: "15.0"9  createIntermediateGroups: true10  developmentLanguage: fr11packages:12  SPChatCore:13    path: .14  SwiftMath:15    url: https://github.com/mgriebling/SwiftMath.git16    exactVersion: 1.7.317settings:18  base:19    SWIFT_VERSION: "6.0"20    MARKETING_VERSION: "2.0.0"21    CURRENT_PROJECT_VERSION: "2"22    DEVELOPMENT_TEAM: 3YM54G49SN23    ENABLE_HARDENED_RUNTIME: YES24    DEAD_CODE_STRIPPING: YES25    ENABLE_USER_SCRIPT_SANDBOXING: YES26    SWIFT_STRICT_CONCURRENCY: complete27targets:28  SPChat:29    type: application30    platform: macOS31    sources:32      - path: SPChat/App33      - path: SPChat/Features34      - path: SPChat/Components35      - path: SPChat/Resources36        excludes:37          - "Info.plist"38          - "*.entitlements"39          - "icon/**"40    dependencies:41      - package: SPChatCore42        product: SPChatCore43      - package: SwiftMath44        product: SwiftMath45    settings:46      base:47        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spchat48        PRODUCT_NAME: SP Chat49        PRODUCT_MODULE_NAME: SPChat50        INFOPLIST_FILE: SPChat/Resources/Info.plist51        GENERATE_INFOPLIST_FILE: NO52        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon53        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor54        COMBINE_HIDPI_IMAGES: YES55        CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO56        SWIFT_DEFAULT_ACTOR_ISOLATION: MainActor57        SWIFT_APPROACHABLE_CONCURRENCY: YES58      configs:59        Debug:60          # Debug builds are signed locally without a provisioning profile: no restricted entitlement (Associated Domains).61          CODE_SIGN_ENTITLEMENTS: SPChat/Resources/SPChat-Debug.entitlements62          # a distinct identifier: a development copy registered with Launch Services must never shadow the installed app63          # (macOS resolves the passkey domain association per application identifier)64          PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spchat.debug65          CODE_SIGN_STYLE: Automatic66          CODE_SIGN_IDENTITY: "-"67        Release:68          CODE_SIGN_ENTITLEMENTS: SPChat/Resources/SPChat.entitlements69          CODE_SIGN_STYLE: Manual70          CODE_SIGN_IDENTITY: "Developer ID Application"71          PROVISIONING_PROFILE_SPECIFIER: "SP Chat Developer ID"72          OTHER_CODE_SIGN_FLAGS: "--timestamp"73          ONLY_ACTIVE_ARCH: NO74          SWIFT_COMPILATION_MODE: wholemodule75  SPChatTests:76    type: bundle.unit-test77    platform: macOS78    sources:79      - path: SPChat/Tests/AppTests80      - path: SPChat/Tests/CoreTests/Support81    dependencies:82      - target: SPChat83    settings:84      base:85        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spchat.tests86        GENERATE_INFOPLIST_FILE: YES87        TEST_HOST: "$(BUILT_PRODUCTS_DIR)/SP Chat.app/Contents/MacOS/SP Chat"88        BUNDLE_LOADER: "$(TEST_HOST)"89        CODE_SIGN_IDENTITY: "-"90  SPChatUITests:91    type: bundle.ui-testing92    platform: macOS93    sources:94      - path: SPChat/Tests/UITests95    dependencies:96      - target: SPChat97    settings:98      base:99        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spchat.uitests100        GENERATE_INFOPLIST_FILE: YES101        TEST_TARGET_NAME: SPChat102        CODE_SIGN_IDENTITY: "-"103        ENABLE_HARDENED_RUNTIME: NO   # ad hoc test bundle: library validation would refuse to load it104schemes:105  SPChat:106    build:107      targets:108        SPChat: all109        SPChatTests: [test]110    run:111      config: Debug112    test:113      config: Debug114      targets:115        - SPChatTests116    archive:117      config: Release118  SPChatUITests:119    build:120      targets:121        SPChat: all122        SPChatUITests: [test]123    test:124      config: Debug125      targets:126        - SPChatUITests127
Files main
Menu

Theme