| 1 | name: BasePhone |
| 2 | options: |
| 3 | bundleIdPrefix: works.oficina |
| 4 | deploymentTarget: |
| 5 | iOS: '26.0' |
| 6 | packages: |
| 7 | BaseNative: |
| 8 | path: ../apple |
| 9 | RastrilloNative: |
| 10 | url: https://amadan.net/rastrillo/native |
| 11 | revision: bb989a7cf3bdb152e1529f6e514d24f249f777ec |
| 12 | settings: |
| 13 | base: |
| 14 | SWIFT_VERSION: '6.0' |
| 15 | CODE_SIGN_STYLE: Automatic |
| 16 | MARKETING_VERSION: 0.1.0 |
| 17 | CURRENT_PROJECT_VERSION: '1' |
| 18 | targets: |
| 19 | BasePhone: |
| 20 | type: application |
| 21 | platform: iOS |
| 22 | sources: |
| 23 | - ../apple/Sources/BasePhone |
| 24 | - Assets.xcassets |
| 25 | - path: ../PrivacyInfo.xcprivacy |
| 26 | buildPhase: resources |
| 27 | dependencies: |
| 28 | - package: BaseNative |
| 29 | product: BaseKit |
| 30 | - package: RastrilloNative |
| 31 | product: RastrilloApple |
| 32 | settings: |
| 33 | base: |
| 34 | ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon |
| 35 | PROVISIONING_PROFILE_SPECIFIER: $(OFICINA_PROVISIONING_PROFILE) |
| 36 | PRODUCT_BUNDLE_IDENTIFIER: works.oficina.base |
| 37 | # Oficina ID (rastrillo/native APPLE.md, "Oficina ID, slice A"): |
| 38 | # Base's own keychain group first, then the shared one; |
| 39 | # group.works.oficina; webcredentials:id.oficina.works for passkeys. |
| 40 | CODE_SIGN_ENTITLEMENTS: BasePhone.entitlements |
| 41 | TARGETED_DEVICE_FAMILY: '1' |
| 42 | GENERATE_INFOPLIST_FILE: true |
| 43 | # "Oficina Base" on the Home Screen and in Spotlight; "Base" inside |
| 44 | # the app (the native level-up's D2). |
| 45 | INFOPLIST_KEY_CFBundleDisplayName: Oficina Base |
| 46 | INFOPLIST_KEY_UILaunchScreen_Generation: true |
| 47 | INFOPLIST_KEY_UISupportedInterfaceOrientations: UIInterfaceOrientationPortrait |
| 48 | # HTTPS only, through the system: exempt from export documentation. |
| 49 | INFOPLIST_KEY_ITSAppUsesNonExemptEncryption: false |
| 50 | info: |
| 51 | path: Info.plist |
| 52 | properties: |
| 53 | CFBundleShortVersionString: $(MARKETING_VERSION) |
| 54 | CFBundleVersion: $(CURRENT_PROJECT_VERSION) |
| 55 | CFBundleName: Base |
| 56 | # Interface text is English in slice 1; dates and numbers follow the |
| 57 | # reader's locale through Foundation's format styles. |
| 58 | CFBundleLocalizations: |
| 59 | - en |
| 60 | # The kit's sign-in callback, and (Task 1) works.oficina.base://open. |
| 61 | CFBundleURLTypes: |
| 62 | - CFBundleURLName: works.oficina.base |
| 63 | CFBundleURLSchemes: |
| 64 | - works.oficina.base |
| 65 | CFBundleTypeRole: Editor |
| 66 | # P12: Calls and Equipo open natively by their schemes. |
| 67 | LSApplicationQueriesSchemes: |
| 68 | - oficina-calls |
| 69 | - works.oficina.equipo |
| 70 | # The screenshot gate's iPhone half: the Mac half's catalog files, run as |
| 71 | # a logic test in the simulator by native/scripts/snapshots.sh. |
| 72 | BasePhoneSnapshots: |
| 73 | type: bundle.unit-test |
| 74 | platform: iOS |
| 75 | sources: |
| 76 | - path: ../apple/Tests/BaseSnapshots |
| 77 | excludes: |
| 78 | - __Snapshots__ |
| 79 | dependencies: |
| 80 | - package: BaseNative |
| 81 | product: BaseKit |
| 82 | - package: RastrilloNative |
| 83 | product: RastrilloApple |
| 84 | - package: RastrilloNative |
| 85 | product: RastrilloSnapshots |
| 86 | - package: RastrilloNative |
| 87 | product: RastrilloTestSupport |
| 88 | settings: |
| 89 | base: |
| 90 | GENERATE_INFOPLIST_FILE: true |
| 91 | PRODUCT_BUNDLE_IDENTIFIER: works.oficina.base.snapshots |
| 92 | schemes: |
| 93 | BasePhone: |
| 94 | build: |
| 95 | targets: |
| 96 | BasePhone: all |
| 97 | BasePhoneSnapshots: |
| 98 | build: |
| 99 | targets: |
| 100 | BasePhoneSnapshots: [test] |
| 101 | test: |
| 102 | targets: |
| 103 | - BasePhoneSnapshots |
| 104 | |