SPB Git

Repository Public

project.yml 4.4 KB 145 lines yaml

1# SP Wallet iOS2# File: project.yml3# Description: XcodeGen project definition (app, widget extension, unit and UI tests). The shared core is the Swift package ../SPWalletCore.4#5# Author: Simon-Pierre Boucher6# Contact: contact@spboucher.ai7name: SPWallet8options:9  bundleIdPrefix: ai.spboucher10  deploymentTarget:11    iOS: "26.0"12  createIntermediateGroups: true13  developmentLanguage: fr14  defaultConfig: Release15packages:16  SPWalletCore:17    path: ../SPWalletCore18settings:19  base:20    SWIFT_VERSION: "6.0"21    SWIFT_STRICT_CONCURRENCY: complete22    MARKETING_VERSION: "1.0.0"23    CURRENT_PROJECT_VERSION: "3"24    DEVELOPMENT_TEAM: 3YM54G49SN25    CODE_SIGN_STYLE: Automatic26    ENABLE_USER_SCRIPT_SANDBOXING: YES27    DEAD_CODE_STRIPPING: YES28    SWIFT_EMIT_LOC_STRINGS: YES29    LOCALIZATION_PREFERS_STRING_CATALOGS: YES30    TARGETED_DEVICE_FAMILY: "1,2"31    SUPPORTS_MACCATALYST: NO32    SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: NO33    SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD: NO34  configs:35    Debug:36      SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG37    Release:38      SWIFT_COMPILATION_MODE: wholemodule39targets:40  SPWallet:41    type: application42    platform: iOS43    sources:44      - path: App45      - path: Core46      - path: Components47      - path: Features48      - path: Intents49      - path: WidgetShared50      - path: Resources51        excludes:52          - "*.plist"53          - "*.entitlements"54    dependencies:55      - package: SPWalletCore56        product: SPWalletCore57      # the software passkey of the throwaway test stack: referenced only inside `#if DEBUG` (Scripts/check-release.sh proves the58      # release binary contains none of it)59      - package: SPWalletCore60        product: SPWalletTestSupport61      - sdk: AppIntents.framework62      - target: SPWalletWidgets63    settings:64      base:65        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spwallet.ios66        PRODUCT_NAME: SPWallet67        PRODUCT_MODULE_NAME: SPWallet68        INFOPLIST_FILE: Resources/Info.plist69        GENERATE_INFOPLIST_FILE: NO70        CODE_SIGN_ENTITLEMENTS: Resources/SPWallet.entitlements71        # the simulator never talks to production passkeys (it uses the throwaway stack): no associated domain there72        "CODE_SIGN_ENTITLEMENTS[sdk=iphonesimulator*]": Resources/SPWallet-Simulator.entitlements73        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon74        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor75      configs:76        Debug:77          # Debug only: the throwaway stack is reached at http://localhost:8750 (Info-Debug.plist allows local networking)78          INFOPLIST_FILE: Resources/Info-Debug.plist79  SPWalletWidgets:80    type: app-extension81    platform: iOS82    sources:83      - path: Widgets84        excludes: ["*.plist", "*.entitlements"]85      - path: WidgetShared86      - path: Resources/Assets.xcassets87      - path: Resources/Localizable.xcstrings88    dependencies:89      - sdk: WidgetKit.framework90      - sdk: SwiftUI.framework91    settings:92      base:93        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spwallet.ios.widgets94        PRODUCT_NAME: SPWalletWidgets95        INFOPLIST_FILE: Widgets/Info.plist96        GENERATE_INFOPLIST_FILE: NO97        CODE_SIGN_ENTITLEMENTS: Widgets/SPWalletWidgets.entitlements98        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor99        ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME: WidgetBackground100        SKIP_INSTALL: YES101        APPLICATION_EXTENSION_API_ONLY: YES102  SPWalletTests:103    type: bundle.unit-test104    platform: iOS105    sources:106      - path: Tests107    dependencies:108      - target: SPWallet109      - package: SPWalletCore110        product: SPWalletCore111    settings:112      base:113        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spwallet.ios.tests114        GENERATE_INFOPLIST_FILE: YES115        BUNDLE_LOADER: $(TEST_HOST)116        TEST_HOST: $(BUILT_PRODUCTS_DIR)/SPWallet.app/SPWallet117  SPWalletUITests:118    type: bundle.ui-testing119    platform: iOS120    sources:121      - path: UITests122    dependencies:123      - target: SPWallet124    settings:125      base:126        PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spwallet.ios.uitests127        GENERATE_INFOPLIST_FILE: YES128        TEST_TARGET_NAME: SPWallet129schemes:130  SPWallet:131    build:132      targets:133        SPWallet: all134        SPWalletTests: [test]135        SPWalletUITests: [test]136    run:137      config: Debug138    test:139      config: Debug140      targets:141        - SPWalletTests142        - SPWalletUITests143    archive:144      config: Release145
Files main
Menu

Theme