open-remora

Open Remora, a free secondary dive computer for Apple Watch Ultra
git clone https://git.schurger.org/open-remora.git
Log | Files | Refs | README | LICENSE

project.yml (5036B)


      1 # Xcode project generated by XcodeGen (`xcodegen`): edit this file, not the .xcodeproj.
      2 # English is the source language; French lives in the String Catalogs (Localizable.xcstrings, InfoPlist.xcstrings).
      3 name: OpenRemora
      4 options:
      5   bundleIdPrefix: org.schurger
      6   developmentLanguage: en
      7   deploymentTarget:
      8     iOS: "17.0"
      9     watchOS: "11.0"
     10 # RemoraKit (engine, dive logic, shared interface) is a separate repository, checked out next to this one.
     11 packages:
     12   RemoraKit:
     13     path: ../remora-kit
     14 settings:
     15   base:
     16     DEVELOPMENT_TEAM: CM5RQKJH56
     17     CODE_SIGN_STYLE: Automatic
     18     MARKETING_VERSION: "0.6"
     19     CURRENT_PROJECT_VERSION: "1"
     20     SWIFT_VERSION: "6.0"
     21     SWIFT_EMIT_LOC_STRINGS: YES
     22     LOCALIZATION_PREFERS_STRING_CATALOGS: YES
     23 targets:
     24   OpenRemora:
     25     type: application
     26     platform: iOS
     27     sources:
     28       - path: OpenRemora
     29       - path: Shared
     30     dependencies:
     31       - target: OpenRemoraWatch
     32       - target: OpenRemoraWidgets
     33         embed: true
     34       - package: RemoraKit
     35         product: RemoraDeco
     36       - package: RemoraKit
     37         product: RemoraUI
     38     settings:
     39       base:
     40         PRODUCT_BUNDLE_IDENTIFIER: org.schurger.openremora
     41         PRODUCT_NAME: OpenRemora
     42         TARGETED_DEVICE_FAMILY: "1"
     43         ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
     44         SUPPORTS_MACCATALYST: NO
     45         SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD: NO
     46     info:
     47       path: OpenRemora/Info.plist
     48       properties:
     49         CFBundleDisplayName: Open Rémora
     50         CFBundleShortVersionString: $(MARKETING_VERSION)
     51         CFBundleVersion: $(CURRENT_PROJECT_VERSION)
     52         CFBundleLocalizations: [en, fr]
     53         ITSAppUsesNonExemptEncryption: false
     54         UILaunchScreen: {}
     55         UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
     56         # Open Sub Rascasse (the logbook) when it is installed.
     57         LSApplicationQueriesSchemes: [subrascasse]
     58         # "No-fly time" Live Activity.
     59         NSSupportsLiveActivities: true
     60     entitlements:
     61       path: OpenRemora/OpenRemora.entitlements
     62       properties:
     63         # Folder shared with Sub Rascasse (same team): see docs/SHARING.md.
     64         # Group created and attached by hand on the developer portal (the API key cannot do it).
     65         com.apple.security.application-groups: [group.org.schurger.dive]
     66   # "No-fly time" Live Activity (lock screen, Dynamic Island).
     67   OpenRemoraWidgets:
     68     type: app-extension
     69     platform: iOS
     70     sources:
     71       - path: OpenRemoraWidgets
     72       - path: Shared/NoFlyActivity.swift
     73     settings:
     74       base:
     75         PRODUCT_BUNDLE_IDENTIFIER: org.schurger.openremora.widgets
     76         PRODUCT_NAME: OpenRemoraWidgets
     77         TARGETED_DEVICE_FAMILY: "1"
     78         SKIP_INSTALL: YES
     79     info:
     80       path: OpenRemoraWidgets/Info.plist
     81       properties:
     82         CFBundleDisplayName: Open Rémora
     83         CFBundleShortVersionString: $(MARKETING_VERSION)
     84         CFBundleVersion: $(CURRENT_PROJECT_VERSION)
     85         CFBundleLocalizations: [en, fr]
     86         NSExtension:
     87           NSExtensionPointIdentifier: com.apple.widgetkit-extension
     88   OpenRemoraWatch:
     89     type: application
     90     platform: watchOS
     91     sources:
     92       - path: OpenRemoraWatch
     93       - path: Shared
     94     dependencies:
     95       - package: RemoraKit
     96         product: RemoraDeco
     97       - package: RemoraKit
     98         product: RemoraUI
     99     settings:
    100       base:
    101         PRODUCT_BUNDLE_IDENTIFIER: org.schurger.openremora.watchkitapp
    102         PRODUCT_NAME: OpenRemoraWatch
    103         ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
    104         SKIP_INSTALL: YES
    105     info:
    106       path: OpenRemoraWatch/Info.plist
    107       properties:
    108         CFBundleDisplayName: Open Rémora
    109         CFBundleShortVersionString: $(MARKETING_VERSION)
    110         CFBundleVersion: $(CURRENT_PROJECT_VERSION)
    111         CFBundleLocalizations: [en, fr]
    112         WKApplication: true
    113         WKCompanionAppBundleIdentifier: org.schurger.openremora
    114         WKRunsIndependentlyOfCompanionApp: true
    115         WKBackgroundModes: [underwater-depth, workout-processing]
    116         # French translations in OpenRemoraWatch/InfoPlist.xcstrings.
    117         NSLocationWhenInUseUsageDescription: Open Rémora notes the position of the entry point before the dive; it stays in your logbook.
    118         NSMotionUsageDescription: Open Rémora reads the depth and the water temperature during the dive.
    119         NSHealthUpdateUsageDescription: Open Rémora saves every dive in Health, with the depth and the water temperature.
    120         NSHealthShareUsageDescription: Open Rémora reads no Health data; it only saves your dives there.
    121     entitlements:
    122       path: OpenRemoraWatch/OpenRemoraWatch.entitlements
    123       properties:
    124         # 6 m: free. 40 m (submerged-depth-and-pressure): on request to Apple.
    125         com.apple.developer.submerged-shallow-depth-and-pressure: true
    126         # Diving workout session (app active during the dive) and saving to Health.
    127         com.apple.developer.healthkit: true
    128 schemes:
    129   OpenRemora:
    130     build:
    131       targets:
    132         OpenRemora: all
    133   OpenRemoraWatch:
    134     build:
    135       targets:
    136         OpenRemoraWatch: all