SPB Git

Repository Public

project.yml 4.5 KB 131 lines yaml

1# Author: Simon-Pierre Boucher — contact@spboucher.ai2# File: project.yml3# Description: XcodeGen definition of Local Chat: the macOS app, the iOS / iPadOS app and their UI tests, all built on the local LocalChatKit package.4name: LocalChat5options:6  bundleIdPrefix: ai.spboucher7  deploymentTarget:8    macOS: "15.0"9    iOS: "18.0"10  createIntermediateGroups: true11  developmentLanguage: en12  groupSortPosition: top13packages:14  LocalChatKit:15    path: .16settings:17  base:18    SWIFT_VERSION: "6.0"19    MARKETING_VERSION: "1.0.0"20    CURRENT_PROJECT_VERSION: "2"21    DEVELOPMENT_TEAM: 3YM54G49SN22    DEAD_CODE_STRIPPING: YES23    ENABLE_USER_SCRIPT_SANDBOXING: YES24    SWIFT_STRICT_CONCURRENCY: complete25    ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon26    ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor27    GENERATE_INFOPLIST_FILE: NO28targets:29  LocalChatMac:30    type: application31    platform: macOS32    sources:33      - path: Apps/LocalChatMac34        excludes: ["Resources/Info.plist", "Resources/*.entitlements"]35      - path: Apps/Shared36    dependencies:37      - package: LocalChatKit38        product: LocalChatKit39    settings:40      base:41        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.localchat42        PRODUCT_NAME: Local Chat43        PRODUCT_MODULE_NAME: LocalChatMac44        INFOPLIST_FILE: Apps/LocalChatMac/Resources/Info.plist45        ENABLE_HARDENED_RUNTIME: YES46        COMBINE_HIDPI_IMAGES: YES47        CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO48        CODE_SIGN_ENTITLEMENTS: Apps/LocalChatMac/Resources/LocalChatMac.entitlements49      configs:50        Debug:51          # a distinct identifier: the development copy never shares the container or the keychain items of the installed app52          PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.localchat.debug53          CODE_SIGN_STYLE: Automatic54          CODE_SIGN_IDENTITY: "-"55        Release:56          CODE_SIGN_STYLE: Manual57          CODE_SIGN_IDENTITY: "Developer ID Application"58          OTHER_CODE_SIGN_FLAGS: "--timestamp"59          ONLY_ACTIVE_ARCH: NO60          ARCHS: arm6461          SWIFT_COMPILATION_MODE: wholemodule62  LocalChatIOS:63    type: application64    platform: iOS65    sources:66      - path: Apps/LocalChatIOS67        excludes: ["Resources/Info.plist", "Resources/*.entitlements"]68      - path: Apps/Shared69    dependencies:70      - package: LocalChatKit71        product: LocalChatKit72    settings:73      base:74        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.localchat75        PRODUCT_NAME: LocalChat76        PRODUCT_MODULE_NAME: LocalChatIOS77        INFOPLIST_FILE: Apps/LocalChatIOS/Resources/Info.plist78        CODE_SIGN_ENTITLEMENTS: Apps/LocalChatIOS/Resources/LocalChatIOS.entitlements79        TARGETED_DEVICE_FAMILY: "1,2"80        SUPPORTS_MACCATALYST: NO81        SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: NO82        CODE_SIGN_STYLE: Automatic83      configs:84        Release:85          SWIFT_COMPILATION_MODE: wholemodule86  LocalChatMacUITests:87    type: bundle.ui-testing88    platform: macOS89    sources: [Tests/LocalChatMacUITests]90    dependencies: [{ target: LocalChatMac }]91    settings:92      base:93        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.localchat.mac.uitests94        GENERATE_INFOPLIST_FILE: YES95        TEST_TARGET_NAME: LocalChatMac96        CODE_SIGN_IDENTITY: "-"97        ENABLE_HARDENED_RUNTIME: NO98  LocalChatIOSUITests:99    type: bundle.ui-testing100    platform: iOS101    sources: [Tests/LocalChatIOSUITests]102    dependencies: [{ target: LocalChatIOS }]103    settings:104      base:105        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.localchat.ios.uitests106        GENERATE_INFOPLIST_FILE: YES107        TEST_TARGET_NAME: LocalChatIOS108        TARGETED_DEVICE_FAMILY: "1,2"109schemes:110  LocalChatMac:111    build: { targets: { LocalChatMac: all } }112    run: { config: Debug }113    test: { config: Debug, targets: [LocalChatMacUITests] }114    archive: { config: Release }115  LocalChatIOS:116    build: { targets: { LocalChatIOS: all } }117    run: { config: Debug }118    test: { config: Debug, targets: [LocalChatIOSUITests] }119    archive: { config: Release }120  # every SwiftPM test target of the shared package (real inference needs Xcode's build: it compiles the MLX Metal shaders)121  LocalChatKitTests:122    build: { targets: { LocalChatMac: [test] } }123    test:124      config: Debug125      targets:126        - package: LocalChatKit/LocalChatCoreTests127        - package: LocalChatKit/LocalChatDataTests128        - package: LocalChatKit/LocalChatServiceTests129        - package: LocalChatKit/LocalChatInferenceTests130        - package: LocalChatKit/LocalChatAppTests131
Files main
Menu

Theme