SPB Git

Repository Public

project.yml 3.8 KB 117 lines yaml

1# MacLustr Command Center — macOS app. Generate with `xcodegen generate` (Scripts/build.sh does it).2name: MCC3options:4  bundleIdPrefix: ai.spboucher5  deploymentTarget:6    macOS: "15.0"7  createIntermediateGroups: true8  generateEmptyDirectories: true9  defaultConfig: Release10settings:11  base:12    SWIFT_VERSION: "6.0"13    SWIFT_STRICT_CONCURRENCY: complete14    MARKETING_VERSION: "1.0.0"15    CURRENT_PROJECT_VERSION: "2"16    DEVELOPMENT_TEAM: 3YM54G49SN17    DEAD_CODE_STRIPPING: YES18    ENABLE_USER_SCRIPT_SANDBOXING: YES19    LOCALIZATION_PREFERS_STRING_CATALOGS: YES20    SWIFT_EMIT_LOC_STRINGS: NO21    # Root of apps/macos. Scripts/build.sh generates the project elsewhere and overrides this on the command line.22    MCC_ROOT: $(SRCROOT)23packages:24  MCCCore:25    path: ../../packages/swift-core26targets:27  MCC:28    type: application29    platform: macOS30    sources:31      - path: Sources32      - path: Resources33    dependencies:34      - package: MCCCore35    settings:36      base:37        PRODUCT_NAME: MacLustr Command Center38        PRODUCT_MODULE_NAME: MCC39        ENABLE_HARDENED_RUNTIME: YES40        ENABLE_APP_SANDBOX: YES41        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon42        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor43        GENERATE_INFOPLIST_FILE: NO44        CODE_SIGN_STYLE: Manual45      configs:46        # Debug: distinct bundle id (a second registered copy of the production id breaks the passkey sheet),47        # signed to run locally, without the restricted entitlements (they need a provisioning profile).48        Debug:49          PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.clustr.debug50          INFOPLIST_FILE: $(MCC_ROOT)/Support/Info-Debug.plist51          CODE_SIGN_ENTITLEMENTS: $(MCC_ROOT)/Support/MCC-Debug.entitlements52          CODE_SIGN_IDENTITY: "-"53          PROVISIONING_PROFILE_SPECIFIER: ""54          SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG55        Release:56          PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.clustr57          INFOPLIST_FILE: $(MCC_ROOT)/Support/Info.plist58          CODE_SIGN_ENTITLEMENTS: $(MCC_ROOT)/Support/MCC.entitlements59          CODE_SIGN_IDENTITY: "Developer ID Application: Simon-Pierre Boucher (3YM54G49SN)"60          PROVISIONING_PROFILE_SPECIFIER: "MCC macOS Developer ID"61          OTHER_CODE_SIGN_FLAGS: "--timestamp"62  MCCTests:63    type: bundle.unit-test64    platform: macOS65    sources:66      - path: Tests67    dependencies:68      - target: MCC69      - package: MCCCore70    settings:71      base:72        GENERATE_INFOPLIST_FILE: YES73        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.clustr.tests74        BUNDLE_LOADER: "$(TEST_HOST)"75        TEST_HOST: "$(BUILT_PRODUCTS_DIR)/MacLustr Command Center.app/Contents/MacOS/MacLustr Command Center"76        CODE_SIGN_STYLE: Manual77        CODE_SIGN_IDENTITY: "-"78        ENABLE_HARDENED_RUNTIME: NO79  MCCUITests:80    type: bundle.ui-testing81    platform: macOS82    sources:83      - path: UITests84    dependencies:85      - target: MCC86    settings:87      base:88        GENERATE_INFOPLIST_FILE: YES89        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.clustr.uitests90        TEST_TARGET_NAME: MCC91        CODE_SIGN_STYLE: Manual92        CODE_SIGN_IDENTITY: "-"93        # The UI-test runner is ad-hoc signed: Hardened Runtime would block it from loading the test bundle.94        ENABLE_HARDENED_RUNTIME: NO95        ENABLE_APP_SANDBOX: NO96schemes:97  MCC:98    build:99      targets:100        MCC: all101        MCCTests: [test]102        MCCUITests: [test]103    run:104      config: Debug105    test:106      config: Debug107      targets:108        - MCCTests109        - MCCUITests110      # The unit tests are hosted by the app: keep it away from production, the Keychain and notification prompts.111      environmentVariables:112        MCC_BASE_URL: "http://localhost:8760"113        MCC_SECURE_STORE: memory114        MCC_UITEST: "1"115    archive:116      config: Release117
Files main
Menu

Theme