SPB Git

Repository Public

project.yml 4.2 KB 138 lines yaml

1# Author: Simon-Pierre Boucher — contact@spboucher.ai2# File: project.yml3# Description: XcodeGen definition of SP Notes (native macOS app), its hosted unit tests and its UI tests.4name: SPNotes5options:6  bundleIdPrefix: ai.spboucher7  deploymentTarget:8    macOS: "15.0"9  createIntermediateGroups: true10  developmentLanguage: fr11packages:12  SPNotesCore:13    path: ../SPNotesCore14  SPNotesEditor:15    path: .16settings:17  base:18    SWIFT_VERSION: "6.0"19    MARKETING_VERSION: "2.0.0"20    CURRENT_PROJECT_VERSION: "4"21    DEVELOPMENT_TEAM: 3YM54G49SN22    ENABLE_HARDENED_RUNTIME: YES23    DEAD_CODE_STRIPPING: YES24    ENABLE_USER_SCRIPT_SANDBOXING: YES25    SWIFT_STRICT_CONCURRENCY: complete26targets:27  SPNotes:28    type: application29    platform: macOS30    sources:31      - path: App32      - path: Features33      - path: Components34      - path: Resources35        excludes:36          - "Info.plist"37          - "*.entitlements"38          - "icon/**"39    dependencies:40      - package: SPNotesCore41        product: SPNotesCore42      - package: SPNotesCore43        product: SPNotesDesign44      # the cross-platform feature screens and block views (no WebKit, no JavaScriptCore)45      - package: SPNotesCore46        product: SPNotesFeatures47      - package: SPNotesEditor48        product: SPNotesEditor49    settings:50      base:51        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes52        PRODUCT_NAME: SP Notes53        PRODUCT_MODULE_NAME: SPNotes54        INFOPLIST_FILE: Resources/Info.plist55        GENERATE_INFOPLIST_FILE: NO56        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon57        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor58        COMBINE_HIDPI_IMAGES: YES59        CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO60        SWIFT_DEFAULT_ACTOR_ISOLATION: MainActor61        SWIFT_APPROACHABLE_CONCURRENCY: YES62      configs:63        Debug:64          # Debug builds are signed locally without a provisioning profile: no restricted entitlement (Associated Domains).65          CODE_SIGN_ENTITLEMENTS: Resources/SPNotes-Debug.entitlements66          # a distinct identifier: a development copy registered with Launch Services must never shadow the installed app67          # (macOS resolves the passkey domain association per application identifier)68          PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.debug69          CODE_SIGN_STYLE: Automatic70          CODE_SIGN_IDENTITY: "-"71        Release:72          CODE_SIGN_ENTITLEMENTS: Resources/SPNotes.entitlements73          CODE_SIGN_STYLE: Manual74          CODE_SIGN_IDENTITY: "Developer ID Application"75          PROVISIONING_PROFILE_SPECIFIER: "SP Notes Developer ID"76          OTHER_CODE_SIGN_FLAGS: "--timestamp"77          ONLY_ACTIVE_ARCH: NO78          SWIFT_COMPILATION_MODE: wholemodule79  SPNotesTests:80    type: bundle.unit-test81    platform: macOS82    sources:83      - path: Tests/AppTests84        excludes:85          - "Fixtures/**"86      - path: Tests/AppTests/Fixtures87        type: folder88        buildPhase: resources89    dependencies:90      - target: SPNotes91      # in-memory fake of the backend (URLProtocol): linked in the test bundle only, never in the app92      - package: SPNotesCore93        product: SPNotesTestSupport94    settings:95      base:96        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.tests97        GENERATE_INFOPLIST_FILE: YES98        TEST_HOST: "$(BUILT_PRODUCTS_DIR)/SP Notes.app/Contents/MacOS/SP Notes"99        BUNDLE_LOADER: "$(TEST_HOST)"100        CODE_SIGN_IDENTITY: "-"101  SPNotesUITests:102    type: bundle.ui-testing103    platform: macOS104    sources:105      - path: Tests/UITests106    dependencies:107      - target: SPNotes108    settings:109      base:110        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.uitests111        GENERATE_INFOPLIST_FILE: YES112        TEST_TARGET_NAME: SPNotes113        CODE_SIGN_IDENTITY: "-"114        ENABLE_HARDENED_RUNTIME: NO   # ad hoc test bundle: library validation would refuse to load it115schemes:116  SPNotes:117    build:118      targets:119        SPNotes: all120        SPNotesTests: [test]121    run:122      config: Debug123    test:124      config: Debug125      targets:126        - SPNotesTests127    archive:128      config: Release129  SPNotesUITests:130    build:131      targets:132        SPNotes: all133        SPNotesUITests: [test]134    test:135      config: Debug136      targets:137        - SPNotesUITests138
Files main
Menu

Theme