Repository Public
1# SP Drive iOS2# File: project.yml3# Description: XcodeGen project definition (app, File Provider extension, share extension, widget extension, unit and UI tests).4#5# Author: Simon-Pierre Boucher6# Contact: contact@spboucher.ai7name: SPDrive8options:9 bundleIdPrefix: ai.spboucher10 deploymentTarget:11 iOS: "18.0"12 createIntermediateGroups: true13 developmentLanguage: fr14 defaultConfig: Release15settings:16 base:17 SWIFT_VERSION: "6.0"18 SWIFT_STRICT_CONCURRENCY: complete19 MARKETING_VERSION: "2.0.0"20 CURRENT_PROJECT_VERSION: "2"21 DEVELOPMENT_TEAM: 3YM54G49SN22 CODE_SIGN_STYLE: Automatic23 ENABLE_USER_SCRIPT_SANDBOXING: YES24 DEAD_CODE_STRIPPING: YES25 SWIFT_EMIT_LOC_STRINGS: YES26 LOCALIZATION_PREFERS_STRING_CATALOGS: YES27 TARGETED_DEVICE_FAMILY: "1,2"28 SUPPORTS_MACCATALYST: NO29 SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: NO30 SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD: NO31 configs:32 Debug:33 SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG34 Release:35 SWIFT_COMPILATION_MODE: wholemodule36packages:37 # SP Drive 2.0 endpoints, shared with the macOS app (sibling repository; only the product SPDriveNext is linked, by the app alone)38 SPDriveCore:39 path: ../SPDrive40targets:41 SPDrive:42 type: application43 platform: iOS44 sources:45 - path: App46 - path: NextKit47 - path: Core48 - path: Sync49 - path: Features50 - path: Components51 - path: Resources52 excludes: ["*.plist", "*.entitlements"]53 dependencies:54 - target: SPDriveFileProvider55 - target: SPDriveShare56 - target: SPDriveWidgets57 - package: SPDriveCore58 product: SPDriveNext59 settings:60 base:61 PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spdrive.ios62 PRODUCT_NAME: SPDrive63 PRODUCT_MODULE_NAME: SPDrive64 INFOPLIST_FILE: Resources/Info.plist65 GENERATE_INFOPLIST_FILE: NO66 CODE_SIGN_ENTITLEMENTS: Resources/SPDrive.entitlements67 ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon68 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor69 configs:70 Debug:71 # Debug only: the disposable test backend is reached at http://localhost through an SSH tunnel72 INFOPLIST_FILE: Resources/Info-Debug.plist73 SPDriveFileProvider:74 type: app-extension75 platform: iOS76 sources:77 - path: FileProviderExtension78 excludes: ["*.plist", "*.entitlements"]79 - path: Core80 - path: Sync81 dependencies:82 - sdk: FileProvider.framework83 settings:84 base:85 PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spdrive.ios.fileprovider86 PRODUCT_NAME: SPDriveFileProvider87 INFOPLIST_FILE: FileProviderExtension/Info.plist88 GENERATE_INFOPLIST_FILE: NO89 CODE_SIGN_ENTITLEMENTS: FileProviderExtension/SPDriveFileProvider.entitlements90 SKIP_INSTALL: YES91 APPLICATION_EXTENSION_API_ONLY: YES92 configs:93 Debug:94 INFOPLIST_FILE: FileProviderExtension/Info-Debug.plist95 SPDriveShare:96 type: app-extension97 platform: iOS98 sources:99 - path: ShareExtension100 excludes: ["*.plist", "*.entitlements"]101 - path: Core102 - path: Sync103 - path: Resources/Assets.xcassets104 dependencies: []105 settings:106 base:107 PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spdrive.ios.share108 PRODUCT_NAME: SPDriveShare109 INFOPLIST_FILE: ShareExtension/Info.plist110 GENERATE_INFOPLIST_FILE: NO111 CODE_SIGN_ENTITLEMENTS: ShareExtension/SPDriveShare.entitlements112 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor113 SKIP_INSTALL: YES114 APPLICATION_EXTENSION_API_ONLY: YES115 configs:116 Debug:117 INFOPLIST_FILE: ShareExtension/Info-Debug.plist118 SPDriveWidgets:119 # Widgets read a snapshot the app writes into the group container: no network, no keychain, no database.120 type: app-extension121 platform: iOS122 sources:123 - path: WidgetExtension124 excludes: ["*.plist", "*.entitlements"]125 - path: Core/WidgetSnapshot.swift126 - path: Resources/Assets.xcassets127 dependencies:128 - sdk: WidgetKit.framework129 - sdk: SwiftUI.framework130 settings:131 base:132 PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spdrive.ios.widgets133 PRODUCT_NAME: SPDriveWidgets134 INFOPLIST_FILE: WidgetExtension/Info.plist135 GENERATE_INFOPLIST_FILE: NO136 CODE_SIGN_ENTITLEMENTS: WidgetExtension/SPDriveWidgets.entitlements137 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor138 ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME: Surface139 SKIP_INSTALL: YES140 APPLICATION_EXTENSION_API_ONLY: YES141 SPDriveTests:142 type: bundle.unit-test143 platform: iOS144 sources:145 - path: Tests146 dependencies:147 - target: SPDrive148 settings:149 base:150 PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spdrive.ios.tests151 GENERATE_INFOPLIST_FILE: YES152 BUNDLE_LOADER: $(TEST_HOST)153 TEST_HOST: $(BUILT_PRODUCTS_DIR)/SPDrive.app/SPDrive154 SPDriveUITests:155 type: bundle.ui-testing156 platform: iOS157 sources:158 - path: UITests159 dependencies:160 - target: SPDrive161 settings:162 base:163 PRODUCT_BUNDLE_IDENTIFIER: ai.spboucher.spdrive.ios.uitests164 GENERATE_INFOPLIST_FILE: YES165 TEST_TARGET_NAME: SPDrive166schemes:167 SPDrive:168 build:169 targets:170 SPDrive: all171 SPDriveTests: [test]172 SPDriveUITests: [test]173 run:174 config: Debug175 test:176 config: Debug177 targets: [SPDriveTests, SPDriveUITests]178 archive:179 config: Release180