SPB Git

Repository Public

project.yml 5.5 KB 178 lines yaml

1# SP Notes iOS2# File: project.yml3# Description: XcodeGen project definition (app, widget extension, share extension, unit and UI tests).4#5# Author: Simon-Pierre Boucher6# Contact: contact@spboucher.ai7name: SPNotes8options:9  bundleIdPrefix: ai.spboucher10  deploymentTarget:11    iOS: "18.0"12  createIntermediateGroups: true13  developmentLanguage: fr14  defaultConfig: Release15packages:16  SPNotesCore:17    path: ../SPNotesCore   # products: SPNotesCore (umbrella), SPNotesDesign (Note Visual System 2.0), SPNotesFeatures (shared screens, app target only)18  SwiftMath:19    url: https://github.com/mgriebling/SwiftMath20    exactVersion: 1.7.321settings:22  base:23    SWIFT_VERSION: "6.0"24    SWIFT_STRICT_CONCURRENCY: complete25    MARKETING_VERSION: "2.0.0"26    CURRENT_PROJECT_VERSION: "2"27    DEVELOPMENT_TEAM: 3YM54G49SN28    CODE_SIGN_STYLE: Automatic29    ENABLE_USER_SCRIPT_SANDBOXING: YES30    DEAD_CODE_STRIPPING: YES31    SWIFT_EMIT_LOC_STRINGS: YES32    LOCALIZATION_PREFERS_STRING_CATALOGS: YES33    TARGETED_DEVICE_FAMILY: "1,2"34    SUPPORTS_MACCATALYST: NO35    SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: NO36    SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD: NO37  configs:38    Debug:39      SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG40    Release:41      SWIFT_COMPILATION_MODE: wholemodule42targets:43  SPNotes:44    type: application45    platform: iOS46    sources:47      - path: App48      - path: Core49      - path: Editor50      - path: Features51      - path: Components52      - path: Shared53      - path: WidgetShared54      - path: Resources55        excludes:56          - "*.plist"57          - "*.entitlements"58    dependencies:59      - package: SPNotesCore60      - package: SPNotesCore61        product: SPNotesDesign62      - package: SPNotesCore63        product: SPNotesFeatures64      - package: SwiftMath65      - sdk: AppIntents.framework66      - target: SPNotesWidgets67      - target: SPNotesShare68    settings:69      base:70        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.ios71        PRODUCT_NAME: SPNotes72        PRODUCT_MODULE_NAME: SPNotes73        INFOPLIST_FILE: Resources/Info.plist74        GENERATE_INFOPLIST_FILE: NO75        CODE_SIGN_ENTITLEMENTS: Resources/SPNotes.entitlements76        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon77        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor78      configs:79        Debug:80          # Debug only: the test backend is reached at http://localhost:8482 through an SSH tunnel (Info-Debug.plist allows local networking)81          INFOPLIST_FILE: Resources/Info-Debug.plist82  SPNotesWidgets:83    type: app-extension84    platform: iOS85    sources:86      - path: Widgets87        excludes: ["*.plist", "*.entitlements"]88      - path: Shared89      - path: WidgetShared90      - path: Resources/Assets.xcassets91      - path: Resources/Localizable.xcstrings92    dependencies:93      - package: SPNotesCore94      - package: SPNotesCore95        product: SPNotesDesign96      - sdk: WidgetKit.framework97      - sdk: SwiftUI.framework98      - sdk: AppIntents.framework99    settings:100      base:101        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.ios.widgets102        PRODUCT_NAME: SPNotesWidgets103        INFOPLIST_FILE: Widgets/Info.plist104        GENERATE_INFOPLIST_FILE: NO105        CODE_SIGN_ENTITLEMENTS: Widgets/SPNotesWidgets.entitlements106        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor107        ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME: WidgetBackground108        SKIP_INSTALL: YES109        APPLICATION_EXTENSION_API_ONLY: YES110  SPNotesShare:111    type: app-extension112    platform: iOS113    sources:114      - path: ShareExtension115        excludes: ["*.plist", "*.entitlements"]116      - path: Shared117      - path: Resources/Assets.xcassets118      - path: Resources/Localizable.xcstrings119    dependencies:120      - package: SPNotesCore121      - package: SPNotesCore122        product: SPNotesDesign123    settings:124      base:125        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.ios.share126        PRODUCT_NAME: SPNotesShare127        INFOPLIST_FILE: ShareExtension/Info.plist128        GENERATE_INFOPLIST_FILE: NO129        CODE_SIGN_ENTITLEMENTS: ShareExtension/SPNotesShare.entitlements130        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor131        SKIP_INSTALL: YES132        APPLICATION_EXTENSION_API_ONLY: YES133  SPNotesTests:134    type: bundle.unit-test135    platform: iOS136    sources:137      - path: Tests138      # Tests/CoreTestSupport = the in-memory fake backend of SPNotesCore (Sources/SPNotesTestSupport), copied by139      # `Scripts/build.sh generate` and compiled INTO the test module: linking the package product would embed a second copy of140      # SPNotesAPI in the test bundle (two `APIError` types, `as?` casts fail). Untracked; never edit the copy.141    dependencies:142      - target: SPNotes143      - package: SPNotesCore144    settings:145      base:146        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.ios.tests147        GENERATE_INFOPLIST_FILE: YES148        BUNDLE_LOADER: $(TEST_HOST)149        TEST_HOST: $(BUILT_PRODUCTS_DIR)/SPNotes.app/SPNotes150  SPNotesUITests:151    type: bundle.ui-testing152    platform: iOS153    sources:154      - path: UITests155    dependencies:156      - target: SPNotes157    settings:158      base:159        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spnotes.ios.uitests160        GENERATE_INFOPLIST_FILE: YES161        TEST_TARGET_NAME: SPNotes162schemes:163  SPNotes:164    build:165      targets:166        SPNotes: all167        SPNotesTests: [test]168        SPNotesUITests: [test]169    run:170      config: Debug171    test:172      config: Debug173      targets:174        - SPNotesTests175        - SPNotesUITests176    archive:177      config: Release178
Files main
Menu

Theme