diff --git a/.firebaserc b/.firebaserc index a46b46e..e0cddaa 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,5 +1,5 @@ { "projects": { - "default": "stanfordspezitemplateapp" + "default": "stanfordspezistudyapp" } } diff --git a/.firebaserc.license b/.firebaserc.license index 6d66422..3ee0688 100644 --- a/.firebaserc.license +++ b/.firebaserc.license @@ -1,4 +1,4 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) diff --git a/.github/workflows/beta-deployment.yml b/.github/workflows/beta-deployment.yml index 4000cf4..d381155 100644 --- a/.github/workflows/beta-deployment.yml +++ b/.github/workflows/beta-deployment.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -27,7 +27,7 @@ jobs: uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 secrets: inherit with: - googleserviceinfoplistpath: 'TemplateApplication/Supporting Files/GoogleService-Info.plist' + googleserviceinfoplistpath: 'StudyApplication/Supporting Files/GoogleService-Info.plist' setupsigning: true fastlanelane: beta deployfirebase: diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5094eeb..435e687 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -27,7 +27,7 @@ jobs: name: Build and Test uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 with: - artifactname: TemplateApplication.xcresult + artifactname: StudyApplication.xcresult runsonlabels: '["macOS", "self-hosted"]' setupfirebaseemulator: true customcommand: "firebase emulators:exec 'fastlane test'" @@ -36,4 +36,4 @@ jobs: needs: buildandtest uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 with: - coveragereports: TemplateApplication.xcresult + coveragereports: StudyApplication.xcresult diff --git a/.gitignore b/.gitignore index 7c721b0..cd06b3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -11,7 +11,7 @@ .swiftpm .derivedData .build -!TemplateApplication.xcodeproj +!StudyApplication.xcodeproj # IDE related folders .idea @@ -29,7 +29,7 @@ xcuserdata/ # Tests report.junit report.html -TemplateApplication.xcresult +StudyApplication.xcresult # Logs logs diff --git a/.swiftlint.yml b/.swiftlint.yml index cb72e2c..f2d5b18 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # diff --git a/CITATION.cff b/CITATION.cff index fb4a133..7652ef9 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -18,6 +18,5 @@ authors: - family-names: "Aalami" given-names: "Oliver" orcid: "https://orcid.org/0000-0002-7799-2429" -title: "Spezi Template Application" -doi: doi.org/10.5281/zenodo.7600783 -url: "https://github.com/StanfordSpezi/SpeziTemplateApplication" +title: "Spezi Study Application" +url: "https://github.com/StanfordSpezi/SpeziStudyApplication" diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index f2f42f0..b3bec9a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -Template Application Contributors +Study Application Contributors ================================= * [Paul Schmiedmayer](https://github.com/PSchmiedmayer) diff --git a/Figures/TemplateContacts/Contacts.png b/Figures/TemplateContacts/Contacts.png deleted file mode 100644 index c30d5d1..0000000 Binary files a/Figures/TemplateContacts/Contacts.png and /dev/null differ diff --git a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderDetail.png b/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderDetail.png deleted file mode 100644 index 2e6edf3..0000000 Binary files a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderDetail.png and /dev/null differ diff --git a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderDetail.png.license b/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderDetail.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderDetail.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderList.png b/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderList.png deleted file mode 100644 index 94683ad..0000000 Binary files a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderList.png and /dev/null differ diff --git a/Figures/TemplateOnboardingFlow/Consent.png b/Figures/TemplateOnboardingFlow/Consent.png deleted file mode 100644 index f9da05e..0000000 Binary files a/Figures/TemplateOnboardingFlow/Consent.png and /dev/null differ diff --git a/Figures/TemplateOnboardingFlow/Consent.png.license b/Figures/TemplateOnboardingFlow/Consent.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateOnboardingFlow/Consent.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Figures/TemplateOnboardingFlow/HealthKitAccess.png b/Figures/TemplateOnboardingFlow/HealthKitAccess.png deleted file mode 100644 index 6aa696a..0000000 Binary files a/Figures/TemplateOnboardingFlow/HealthKitAccess.png and /dev/null differ diff --git a/Figures/TemplateOnboardingFlow/HealthKitAccess.png.license b/Figures/TemplateOnboardingFlow/HealthKitAccess.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateOnboardingFlow/HealthKitAccess.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Figures/TemplateOnboardingFlow/InterestingModules.png b/Figures/TemplateOnboardingFlow/InterestingModules.png deleted file mode 100644 index 53ade21..0000000 Binary files a/Figures/TemplateOnboardingFlow/InterestingModules.png and /dev/null differ diff --git a/Figures/TemplateOnboardingFlow/InterestingModules.png.license b/Figures/TemplateOnboardingFlow/InterestingModules.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateOnboardingFlow/InterestingModules.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Figures/TemplateOnboardingFlow/Welcome.png b/Figures/TemplateOnboardingFlow/Welcome.png deleted file mode 100644 index 38162d0..0000000 Binary files a/Figures/TemplateOnboardingFlow/Welcome.png and /dev/null differ diff --git a/Figures/TemplateOnboardingFlow/Welcome.png.license b/Figures/TemplateOnboardingFlow/Welcome.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateOnboardingFlow/Welcome.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Figures/TemplateSchedule/Questionnaire.png b/Figures/TemplateSchedule/Questionnaire.png deleted file mode 100644 index 6d0d77d..0000000 Binary files a/Figures/TemplateSchedule/Questionnaire.png and /dev/null differ diff --git a/Figures/TemplateSchedule/Questionnaire.png.license b/Figures/TemplateSchedule/Questionnaire.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateSchedule/Questionnaire.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Figures/TemplateSchedule/QuestionnaireFinished.png b/Figures/TemplateSchedule/QuestionnaireFinished.png deleted file mode 100644 index b57fb43..0000000 Binary files a/Figures/TemplateSchedule/QuestionnaireFinished.png and /dev/null differ diff --git a/Figures/TemplateSchedule/QuestionnaireFinished.png.license b/Figures/TemplateSchedule/QuestionnaireFinished.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateSchedule/QuestionnaireFinished.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Figures/TemplateSchedule/Scheduler.png b/Figures/TemplateSchedule/Scheduler.png deleted file mode 100644 index 0d68889..0000000 Binary files a/Figures/TemplateSchedule/Scheduler.png and /dev/null differ diff --git a/Figures/TemplateSchedule/Scheduler.png.license b/Figures/TemplateSchedule/Scheduler.png.license deleted file mode 100644 index d3f1e1e..0000000 --- a/Figures/TemplateSchedule/Scheduler.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Gemfile b/Gemfile index d0f1e54..5af5425 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # diff --git a/Gemfile.lock.license b/Gemfile.lock.license index d3f1e1e..07e2bca 100644 --- a/Gemfile.lock.license +++ b/Gemfile.lock.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/README.md b/README.md index 5b6c9a4..574a227 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Spezi Template Application +# Spezi Study Application -[![Beta Deployment](https://github.com/StanfordSpezi/SpeziTemplateApplication/actions/workflows/beta-deployment.yml/badge.svg)](https://github.com/StanfordSpezi/SpeziTemplateApplication/actions/workflows/beta-deployment.yml) -[![codecov](https://codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/branch/main/graph/badge.svg?token=9fvSAiFJUY)](https://codecov.io/gh/StanfordSpezi/SpeziTemplateApplication) -[![DOI](https://zenodo.org/badge/589846478.svg)](https://zenodo.org/badge/latestdoi/589846478) +[![Beta Deployment](https://github.com/StanfordSpezi/SpeziStudyApplication/actions/workflows/beta-deployment.yml/badge.svg)](https://github.com/StanfordSpezi/SpeziStudyApplication/actions/workflows/beta-deployment.yml) -This repository contains the Spezi Template Application. -It demonstrates using the [Spezi](https://github.com/StanfordSpezi/Spezi) framework template and builds on top of the [Stanford Biodesign Digital Health Template Application](https://github.com/StanfordBDHG/TemplateApplication). - -> [!NOTE] -> Do you want to try out the Spezi Template Application? You can download it to your iOS device using [TestFlight](https://testflight.apple.com/join/ipEezBY1)! - - -## Application Structure - -The Spezi Template Application uses a modularized structure using the [Spezi modules](https://swiftpackageindex.com/StanfordSpezi) enabled by the Swift Package Manager. - -The application uses [HL7 FHIR](https://www.hl7.org/fhir/) and the Spezi [`FHIR` module](https://github.com/StanfordSpezi/SpeziFHIR) to provide a common standard to encode data gathered by the application as defined in the Spezi [`Standard`](https://swiftpackageindex.com/stanfordspezi/spezi/documentation/spezi/standard) found in the application. -You can learn more about the Spezi standards-based software architecture in the [Spezi documentation](https://swiftpackageindex.com/stanfordspezi/spezi/documentation/spezi). +This repository contains the Spezi Study Application, hosting studies managed by the Stanford Spezi team. ## Build and Run the Application -You can build and run the application using [Xcode](https://developer.apple.com/xcode/) by opening up the **TemplateApplication.xcodeproj**. - - -### Get Started without Firebase - -You can start using the application without any additional installations if you use the ``--disableFirebase`` feature flag, enabled by default when opening the Xcode project. The login and account setup is skipped in this configuration. +You can build and run the application using [Xcode](https://developer.apple.com/xcode/) by opening up the **StudyApplication.xcodeproj**. ### Firebase Setup -The application also provides a [Firebase Firestore](https://firebase.google.com/docs/firestore)-based data upload and [Firebase Authentication](https://firebase.google.com/docs/auth) login & sign-up. +The application provides a [Firebase Firestore](https://firebase.google.com/docs/firestore)-based data upload. It is required to have the [Firebase Emulator Suite](https://firebase.google.com/docs/emulator-suite) to be up and running to use these features to build and test the application locally. Please follow the [installation instructions](https://firebase.google.com/docs/emulator-suite/install_and_configure). > [!NOTE] @@ -54,86 +35,25 @@ $ firebase emulators:start After the emulators have started up, you can run the application in your simulator to build, test, and run the application and see the results show up in Firebase. -If you want to connect your project to a development or production Firebase cloud project, you can provide your [`GoogleService-Info.plist`](https://firebase.google.com/docs/ios/setup) in a base 64 representation in the [GitHub secrets](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions) (`GOOGLE_SERVICE_INFO_PLIST_BASE64`) of your project where it is picked up and loaded in the configured path setup in the [`beta-deployment.yml`](.github/workflows/beta-deployment.yml) [GitHub Action](https://docs.github.com/en/actions) using the `googleserviceinfoplistpath` parameter that needs to be adapted to your project structure. - -You can generate a base 64 representation of a file after you [navigated into the folder](https://en.wikipedia.org/wiki/Cd_(command)#Usage) where you have downloaded your [`GoogleService-Info.plist`](https://firebase.google.com/docs/ios/setup) file to. -```shell -base64 -i GoogleService-Info.plist -``` - -> [!WARNING] -> We do **not recommend** to commit your Firebase secrets and configuration file to your project. While it can extract the file from the deployed application, we encourage open-source projects to make it clear to contributors to set up their own Firebase project. - -The deployment requires you to store your Google service account JSON credentials in a base 64 representation in the `GOOGLE_APPLICATION_CREDENTIALS_BASE64`. You can learn more about how to generate the JSON in the [Firebase documentation](https://firebase.google.com/docs/app-distribution/authenticate-service-account). The service account must have the minimally required permissions (not the `Firebase App Distribution Admin` role) as documented at https://firebase.google.com/docs/projects/iam/roles-predefined for your deployment needs and setup. - -Be sure to update your `.firebaserc` project name and placeholder `GoogleService-Info.plist` project identifier to always reflect the name of your project and all security rules to reflect any changes in your application. - ### Other Configuration Options -The application also includes the following feature flags that can be configured in the [scheme editor in Xcode](https://help.apple.com/xcode/mac/11.4/index.html?localePath=en.lproj#/dev0bee46f46) and selecting the **TemplateApplication** scheme, the **Run** configuration, and to switch to the **Arguments** tab to add, enable, disable, or remove the following arguments passed on launch: +The application also includes the following feature flags that can be configured in the [scheme editor in Xcode](https://help.apple.com/xcode/mac/11.4/index.html?localePath=en.lproj#/dev0bee46f46) and selecting the **StudyApplication** scheme, the **Run** configuration, and to switch to the **Arguments** tab to add, enable, disable, or remove the following arguments passed on launch: - ``--skipOnboarding``: Skips the onboarding flow to enable easier development of features in the application and to allow UI tests to skip the onboarding flow. - ``--showOnboarding``: Always show the onboarding when the application is launched. Makes it easy to modify and test the onboarding flow without the need to manually remove the application or reset the simulator. -- ``--disableFirebase``: Disables the Firebase interactions, including the login/sign-up step and the Firebase Firestore upload. +- ``--disableFirebase``: Disables the Firebase interactions and the Firebase Firestore upload. - ``--useFirebaseEmulator``: Defines if the application should connect to the local Firebase emulator. Always set to true when using the iOS simulator. -## Template Onboarding Flow - -The onboarding contains different steps. -It uses the [**Spezi Onboarding** module](https://github.com/StanfordSpezi/SpeziOnboarding) to display different onboarding-related views like the information about the application, a consent screen, and a screen to display a HealthKit consent view. - -

- A screen displaying welcome information. - A screen showing an overview of the modules used in the Spezi Template application. - A screen displaying the consent view. - A screen showing a view displaying the HealthKit access screen. -

- - -## Template Schedule - -The scheduler part of the application provides the functionality to schedule a recurring task and bind it to an action, e.g., displaying a questionnaire. -It uses the [**Spezi Scheduler**](https://github.com/StanfordSpezi/SpeziScheduler) and [**Spezi Questionnaire**](https://github.com/StanfordSpezi/SpeziQuestionnaire) modules to schedule the tasks as defined in the `TemplateApplicationScheduler`. - -

- A screen displaying the Scheduler UI. - A screen showing a questionnaire using ResearchKit. - A screen displaying the Scheduler UI when the questionnaire is finished. -

- - -## Template Contacts - -The Contacts part of the application provides the functionality to display contact information in your application. -It uses the [**Spezi Contacts** module](https://github.com/StanfordSpezi/SpeziContact) to use the contact-related views provided by Spezi. - -

- A screen displaying the Contact UI. -

- - -## Template Mock Data Storage Provider - -The mock upload view allows a developer to get an overview of the data synchronization between the application and a cloud storage provider. -It is shown in the application when the ``--disableFirebase`` configuration flag is active. -It uses the [**Spezi Mock Web Service** module](https://github.com/StanfordSpezi/SpeziMockWebService) to enable this functionality. - -

- A screen displaying the list of Mock Data Storage Provider uploads. - A screen displaying the detailed overview of one Mock Data Storage Provider upload. -

- - ## Continuous Delivery Workflows -The Spezi Template application includes continuous integration (CI) and continuous delivery (CD) setup. +The Spezi Study application includes continuous integration (CI) and continuous delivery (CD) setup. - Automatically build and test the application on every pull request before deploying it. If your organization doesn't have a self-hosted macOS runner modeled after the setup in the [StanfordBDHG ContinuousIntegration](https://github.com/StanfordBDHG/ContinousIntegration) setup, you will need to remove the `runsonlabels` arguments in the `build-and-test.yml` file to ensure that the build runs on the default macOS runners provided by GitHub. - An automated setup to deploy the application to TestFlight every time there is a new commit on the repository's main branch. - Ensure a coherent code style by checking the conformance to the SwiftLint rules defined in `.swiftlint.yml` on every pull request and commit. - Ensure conformance to the [REUSE Specification]() to property license the application and all related code. -Please refer to the [Stanford Biodesign Digital Health Template Application](https://github.com/StanfordBDHG/TemplateApplication) and the [ContinuousDelivery Example by Paul Schmiedmayer](https://github.com/PSchmiedmayer/ContinousDelivery) for more background about the CI and CD setup for the Spezi Template Application. +Please refer to the [Stanford Biodesign Digital Health Template Application](https://github.com/StanfordBDHG/TemplateApplication) and the [ContinuousDelivery Example by Paul Schmiedmayer](https://github.com/PSchmiedmayer/ContinousDelivery) for more background about the CI and CD setup for the Spezi Study Application. ## Contributing diff --git a/TemplateApplication.xcodeproj/project.pbxproj b/StudyApplication.xcodeproj/project.pbxproj similarity index 85% rename from TemplateApplication.xcodeproj/project.pbxproj rename to StudyApplication.xcodeproj/project.pbxproj index e7afe26..263d74e 100644 --- a/TemplateApplication.xcodeproj/project.pbxproj +++ b/StudyApplication.xcodeproj/project.pbxproj @@ -12,10 +12,10 @@ 2F3D4ABC2A4E7C290068FB2F /* SpeziScheduler in Frameworks */ = {isa = PBXBuildFile; productRef = 2F3D4ABB2A4E7C290068FB2F /* SpeziScheduler */; }; 2F49B7762980407C00BCB272 /* Spezi in Frameworks */ = {isa = PBXBuildFile; productRef = 2F49B7752980407B00BCB272 /* Spezi */; }; 2F4E237E2989A2FE0013F3D9 /* OnboardingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4E237D2989A2FE0013F3D9 /* OnboardingTests.swift */; }; - 2F4E23832989D51F0013F3D9 /* TemplateAppTestingSetup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4E23822989D51F0013F3D9 /* TemplateAppTestingSetup.swift */; }; + 2F4E23832989D51F0013F3D9 /* StudyAppTestingSetup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4E23822989D51F0013F3D9 /* StudyAppTestingSetup.swift */; }; 2F4E23872989DB360013F3D9 /* ContactsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4E23862989DB360013F3D9 /* ContactsTests.swift */; }; 2F4FC8D729EE69D300BFFE26 /* MockUpload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4FC8D629EE69D300BFFE26 /* MockUpload.swift */; }; - 2F5E32BD297E05EA003432F8 /* TemplateAppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F5E32BC297E05EA003432F8 /* TemplateAppDelegate.swift */; }; + 2F5E32BD297E05EA003432F8 /* StudyAppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F5E32BC297E05EA003432F8 /* StudyAppDelegate.swift */; }; 2F6025CB29BBE70F0045459E /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 2F6025CA29BBE70F0045459E /* GoogleService-Info.plist */; }; 2F65B44E2A3B8B0600A36932 /* NotificationPermissions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F65B44D2A3B8B0600A36932 /* NotificationPermissions.swift */; }; 2FA0BFED2ACC977500E0EF83 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 2FA0BFEC2ACC977500E0EF83 /* Localizable.xcstrings */; }; @@ -42,8 +42,8 @@ 2FE5DC4E29EDD7FA004B9AB4 /* ScheduleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4829EDD7FA004B9AB4 /* ScheduleView.swift */; }; 2FE5DC4F29EDD7FA004B9AB4 /* EventContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4929EDD7FA004B9AB4 /* EventContext.swift */; }; 2FE5DC5029EDD7FA004B9AB4 /* EventContextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4A29EDD7FA004B9AB4 /* EventContextView.swift */; }; - 2FE5DC5129EDD7FA004B9AB4 /* TemplateApplicationTaskContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4B29EDD7FA004B9AB4 /* TemplateApplicationTaskContext.swift */; }; - 2FE5DC5229EDD7FA004B9AB4 /* TemplateApplicationScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4C29EDD7FA004B9AB4 /* TemplateApplicationScheduler.swift */; }; + 2FE5DC5129EDD7FA004B9AB4 /* StudyApplicationTaskContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4B29EDD7FA004B9AB4 /* StudyApplicationTaskContext.swift */; }; + 2FE5DC5229EDD7FA004B9AB4 /* StudyApplicationScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4C29EDD7FA004B9AB4 /* StudyApplicationScheduler.swift */; }; 2FE5DC5329EDD7FA004B9AB4 /* Bundle+Questionnaire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4D29EDD7FA004B9AB4 /* Bundle+Questionnaire.swift */; }; 2FE5DC6429EDD883004B9AB4 /* SpeziAccount in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC6329EDD883004B9AB4 /* SpeziAccount */; }; 2FE5DC6729EDD894004B9AB4 /* SpeziContact in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC6629EDD894004B9AB4 /* SpeziContact */; }; @@ -60,16 +60,16 @@ 2FE5DCB129EE6107004B9AB4 /* AccountOnboarding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */; }; 2FE750CD2A87255000723EAE /* SpeziFHIR in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE750CC2A87255000723EAE /* SpeziFHIR */; }; 2FF53D8B2A8725DE00042B76 /* SpeziMockWebService in Frameworks */ = {isa = PBXBuildFile; productRef = 2FF53D8A2A8725DE00042B76 /* SpeziMockWebService */; }; - 2FF53D8D2A8729D600042B76 /* TemplateApplicationStandard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FF53D8C2A8729D600042B76 /* TemplateApplicationStandard.swift */; }; + 2FF53D8D2A8729D600042B76 /* StudyApplicationStandard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FF53D8C2A8729D600042B76 /* StudyApplicationStandard.swift */; }; 5661551D2AB8384200209B80 /* SwiftPackageList in Frameworks */ = {isa = PBXBuildFile; productRef = 5661551C2AB8384200209B80 /* SwiftPackageList */; }; 566155292AB8447C00209B80 /* Package+LicenseType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566155282AB8447C00209B80 /* Package+LicenseType.swift */; }; 5661552E2AB854C000209B80 /* PackageHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5661552D2AB854C000209B80 /* PackageHelper.swift */; }; 5680DD392AB8983D004E6D4A /* PackageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5680DD382AB8983D004E6D4A /* PackageCell.swift */; }; 5680DD3E2AB8CD84004E6D4A /* ContributionsTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5680DD3D2AB8CD84004E6D4A /* ContributionsTest.swift */; }; 56F6F2A02AB441930022FE5A /* ContributionsList.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F6F29F2AB441930022FE5A /* ContributionsList.swift */; }; - 653A2551283387FE005D4D48 /* TemplateApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A2550283387FE005D4D48 /* TemplateApplication.swift */; }; + 653A2551283387FE005D4D48 /* StudyApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A2550283387FE005D4D48 /* StudyApplication.swift */; }; 653A255528338800005D4D48 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 653A255428338800005D4D48 /* Assets.xcassets */; }; - 653A256228338800005D4D48 /* TemplateApplicationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A256128338800005D4D48 /* TemplateApplicationTests.swift */; }; + 653A256228338800005D4D48 /* StudyApplicationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A256128338800005D4D48 /* StudyApplicationTests.swift */; }; 653A256C28338800005D4D48 /* SchedulerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A256B28338800005D4D48 /* SchedulerTests.swift */; }; 9733CFC62A8066DE001B7ABC /* SpeziOnboarding in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC8029EDD91D004B9AB4 /* SpeziOnboarding */; }; 9739A0C62AD7B5730084BEA5 /* FirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = 9739A0C52AD7B5730084BEA5 /* FirebaseStorage */; }; @@ -88,14 +88,14 @@ containerPortal = 653A2545283387FE005D4D48 /* Project object */; proxyType = 1; remoteGlobalIDString = 653A254C283387FE005D4D48; - remoteInfo = TemplateApplication; + remoteInfo = StudyApplication; }; 653A256828338800005D4D48 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 653A2545283387FE005D4D48 /* Project object */; proxyType = 1; remoteGlobalIDString = 653A254C283387FE005D4D48; - remoteInfo = TemplateApplication; + remoteInfo = StudyApplication; }; /* End PBXContainerItemProxy section */ @@ -103,15 +103,15 @@ 27FA298F2A388E9B009CAC45 /* ModalView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModalView.swift; sourceTree = ""; }; 2F1B52CD2A4F5CCE003AE151 /* MockUploadTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockUploadTests.swift; sourceTree = ""; }; 2F4E237D2989A2FE0013F3D9 /* OnboardingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingTests.swift; sourceTree = ""; }; - 2F4E23822989D51F0013F3D9 /* TemplateAppTestingSetup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TemplateAppTestingSetup.swift; sourceTree = ""; }; + 2F4E23822989D51F0013F3D9 /* StudyAppTestingSetup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StudyAppTestingSetup.swift; sourceTree = ""; }; 2F4E23862989DB360013F3D9 /* ContactsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContactsTests.swift; sourceTree = ""; }; 2F4FC8D629EE69D300BFFE26 /* MockUpload.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockUpload.swift; sourceTree = ""; }; - 2F5E32BC297E05EA003432F8 /* TemplateAppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TemplateAppDelegate.swift; sourceTree = ""; }; + 2F5E32BC297E05EA003432F8 /* StudyAppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StudyAppDelegate.swift; sourceTree = ""; }; 2F6025CA29BBE70F0045459E /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 2F65B44D2A3B8B0600A36932 /* NotificationPermissions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationPermissions.swift; sourceTree = ""; }; 2FA0BFEC2ACC977500E0EF83 /* Localizable.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = Localizable.xcstrings; sourceTree = ""; }; - 2FAEC07F297F583900C11C42 /* TemplateApplication.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = TemplateApplication.entitlements; sourceTree = ""; }; - 2FC94CD4298B0A1D009C8209 /* TemplateApplication.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = TemplateApplication.xctestplan; sourceTree = ""; }; + 2FAEC07F297F583900C11C42 /* StudyApplication.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = StudyApplication.entitlements; sourceTree = ""; }; + 2FC94CD4298B0A1D009C8209 /* StudyApplication.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = StudyApplication.xctestplan; sourceTree = ""; }; 2FC975A72978F11A00BA99FE /* Home.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Home.swift; sourceTree = ""; }; 2FE5DC2529EDD38A004B9AB4 /* Contacts.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Contacts.swift; sourceTree = ""; }; 2FE5DC2A29EDD78D004B9AB4 /* AppIcon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = AppIcon.png; sourceTree = ""; }; @@ -129,23 +129,23 @@ 2FE5DC4829EDD7FA004B9AB4 /* ScheduleView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScheduleView.swift; sourceTree = ""; }; 2FE5DC4929EDD7FA004B9AB4 /* EventContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventContext.swift; sourceTree = ""; }; 2FE5DC4A29EDD7FA004B9AB4 /* EventContextView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventContextView.swift; sourceTree = ""; }; - 2FE5DC4B29EDD7FA004B9AB4 /* TemplateApplicationTaskContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TemplateApplicationTaskContext.swift; sourceTree = ""; }; - 2FE5DC4C29EDD7FA004B9AB4 /* TemplateApplicationScheduler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TemplateApplicationScheduler.swift; sourceTree = ""; }; + 2FE5DC4B29EDD7FA004B9AB4 /* StudyApplicationTaskContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StudyApplicationTaskContext.swift; sourceTree = ""; }; + 2FE5DC4C29EDD7FA004B9AB4 /* StudyApplicationScheduler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StudyApplicationScheduler.swift; sourceTree = ""; }; 2FE5DC4D29EDD7FA004B9AB4 /* Bundle+Questionnaire.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Bundle+Questionnaire.swift"; sourceTree = ""; }; 2FE5DC5529EDD811004B9AB4 /* SocialSupportQuestionnaire.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = SocialSupportQuestionnaire.json; sourceTree = ""; }; 2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountOnboarding.swift; sourceTree = ""; }; - 2FF53D8C2A8729D600042B76 /* TemplateApplicationStandard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TemplateApplicationStandard.swift; sourceTree = ""; }; + 2FF53D8C2A8729D600042B76 /* StudyApplicationStandard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StudyApplicationStandard.swift; sourceTree = ""; }; 566155282AB8447C00209B80 /* Package+LicenseType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Package+LicenseType.swift"; sourceTree = ""; }; 5661552D2AB854C000209B80 /* PackageHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PackageHelper.swift; sourceTree = ""; }; 5680DD382AB8983D004E6D4A /* PackageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PackageCell.swift; sourceTree = ""; }; 5680DD3D2AB8CD84004E6D4A /* ContributionsTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContributionsTest.swift; sourceTree = ""; }; 56F6F29F2AB441930022FE5A /* ContributionsList.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContributionsList.swift; sourceTree = ""; }; - 653A254D283387FE005D4D48 /* TemplateApplication.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TemplateApplication.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 653A2550283387FE005D4D48 /* TemplateApplication.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TemplateApplication.swift; sourceTree = ""; }; + 653A254D283387FE005D4D48 /* StudyApplication.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = StudyApplication.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 653A2550283387FE005D4D48 /* StudyApplication.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StudyApplication.swift; sourceTree = ""; }; 653A255428338800005D4D48 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 653A255D28338800005D4D48 /* TemplateApplicationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TemplateApplicationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 653A256128338800005D4D48 /* TemplateApplicationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TemplateApplicationTests.swift; sourceTree = ""; }; - 653A256728338800005D4D48 /* TemplateApplicationUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TemplateApplicationUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 653A255D28338800005D4D48 /* StudyApplicationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StudyApplicationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 653A256128338800005D4D48 /* StudyApplicationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StudyApplicationTests.swift; sourceTree = ""; }; + 653A256728338800005D4D48 /* StudyApplicationUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StudyApplicationUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 653A256B28338800005D4D48 /* SchedulerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SchedulerTests.swift; sourceTree = ""; }; 653A258928339462005D4D48 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 97D8B2A32A7653E600715F50 /* ProcessInfo+PreviewSimulator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "ProcessInfo+PreviewSimulator.swift"; sourceTree = ""; }; @@ -217,7 +217,7 @@ 2FC9759D2978E30800BA99FE /* Supporting Files */ = { isa = PBXGroup; children = ( - 2FAEC07F297F583900C11C42 /* TemplateApplication.entitlements */, + 2FAEC07F297F583900C11C42 /* StudyApplication.entitlements */, 653A258928339462005D4D48 /* Info.plist */, 2F6025CA29BBE70F0045459E /* GoogleService-Info.plist */, ); @@ -266,8 +266,8 @@ 2FE5DC4929EDD7FA004B9AB4 /* EventContext.swift */, 2FE5DC4A29EDD7FA004B9AB4 /* EventContextView.swift */, 2FE5DC4829EDD7FA004B9AB4 /* ScheduleView.swift */, - 2FE5DC4C29EDD7FA004B9AB4 /* TemplateApplicationScheduler.swift */, - 2FE5DC4B29EDD7FA004B9AB4 /* TemplateApplicationTaskContext.swift */, + 2FE5DC4C29EDD7FA004B9AB4 /* StudyApplicationScheduler.swift */, + 2FE5DC4B29EDD7FA004B9AB4 /* StudyApplicationTaskContext.swift */, 27FA298F2A388E9B009CAC45 /* ModalView.swift */, ); path = Schedule; @@ -307,10 +307,10 @@ 653A2544283387FE005D4D48 = { isa = PBXGroup; children = ( - 2FC94CD4298B0A1D009C8209 /* TemplateApplication.xctestplan */, - 653A254F283387FE005D4D48 /* TemplateApplication */, - 653A256028338800005D4D48 /* TemplateApplicationTests */, - 653A256A28338800005D4D48 /* TemplateApplicationUITests */, + 2FC94CD4298B0A1D009C8209 /* StudyApplication.xctestplan */, + 653A254F283387FE005D4D48 /* StudyApplication */, + 653A256028338800005D4D48 /* StudyApplicationTests */, + 653A256A28338800005D4D48 /* StudyApplicationUITests */, 653A254E283387FE005D4D48 /* Products */, 653A258B283395A7005D4D48 /* Frameworks */, ); @@ -319,20 +319,20 @@ 653A254E283387FE005D4D48 /* Products */ = { isa = PBXGroup; children = ( - 653A254D283387FE005D4D48 /* TemplateApplication.app */, - 653A255D28338800005D4D48 /* TemplateApplicationTests.xctest */, - 653A256728338800005D4D48 /* TemplateApplicationUITests.xctest */, + 653A254D283387FE005D4D48 /* StudyApplication.app */, + 653A255D28338800005D4D48 /* StudyApplicationTests.xctest */, + 653A256728338800005D4D48 /* StudyApplicationUITests.xctest */, ); name = Products; sourceTree = ""; }; - 653A254F283387FE005D4D48 /* TemplateApplication */ = { + 653A254F283387FE005D4D48 /* StudyApplication */ = { isa = PBXGroup; children = ( - 653A2550283387FE005D4D48 /* TemplateApplication.swift */, - 2F5E32BC297E05EA003432F8 /* TemplateAppDelegate.swift */, - 2FF53D8C2A8729D600042B76 /* TemplateApplicationStandard.swift */, - 2F4E23822989D51F0013F3D9 /* TemplateAppTestingSetup.swift */, + 653A2550283387FE005D4D48 /* StudyApplication.swift */, + 2F5E32BC297E05EA003432F8 /* StudyAppDelegate.swift */, + 2FF53D8C2A8729D600042B76 /* StudyApplicationStandard.swift */, + 2F4E23822989D51F0013F3D9 /* StudyAppTestingSetup.swift */, 2FC975A72978F11A00BA99FE /* Home.swift */, A9720E412ABB68B300872D23 /* Account */, 2FE5DC2829EDD398004B9AB4 /* Onboarding */, @@ -345,18 +345,18 @@ 2FE5DC2D29EDD792004B9AB4 /* Resources */, 2FC9759D2978E30800BA99FE /* Supporting Files */, ); - path = TemplateApplication; + path = StudyApplication; sourceTree = ""; }; - 653A256028338800005D4D48 /* TemplateApplicationTests */ = { + 653A256028338800005D4D48 /* StudyApplicationTests */ = { isa = PBXGroup; children = ( - 653A256128338800005D4D48 /* TemplateApplicationTests.swift */, + 653A256128338800005D4D48 /* StudyApplicationTests.swift */, ); - path = TemplateApplicationTests; + path = StudyApplicationTests; sourceTree = ""; }; - 653A256A28338800005D4D48 /* TemplateApplicationUITests */ = { + 653A256A28338800005D4D48 /* StudyApplicationUITests */ = { isa = PBXGroup; children = ( 2F4E237D2989A2FE0013F3D9 /* OnboardingTests.swift */, @@ -365,7 +365,7 @@ 2F1B52CD2A4F5CCE003AE151 /* MockUploadTests.swift */, 5680DD3D2AB8CD84004E6D4A /* ContributionsTest.swift */, ); - path = TemplateApplicationUITests; + path = StudyApplicationUITests; sourceTree = ""; }; 653A258B283395A7005D4D48 /* Frameworks */ = { @@ -388,13 +388,12 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 653A254C283387FE005D4D48 /* TemplateApplication */ = { + 653A254C283387FE005D4D48 /* StudyApplication */ = { isa = PBXNativeTarget; - buildConfigurationList = 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "TemplateApplication" */; + buildConfigurationList = 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "StudyApplication" */; buildPhases = ( 653A2549283387FE005D4D48 /* Sources */, 653A254A283387FE005D4D48 /* Frameworks */, - 566155202AB8387700209B80 /* Run Script - Generate Swift Package List */, 653A254B283387FE005D4D48 /* Resources */, 2F5B528D29BD237B002020B7 /* ShellScript */, ); @@ -403,7 +402,7 @@ dependencies = ( 566155222AB83CF200209B80 /* PBXTargetDependency */, ); - name = TemplateApplication; + name = StudyApplication; packageProductDependencies = ( 2F49B7752980407B00BCB272 /* Spezi */, 2FE5DC6329EDD883004B9AB4 /* SpeziAccount */, @@ -430,13 +429,13 @@ 97D73D692AD860AD00B47FA0 /* SpeziFirebaseStorage */, A9D83F952B083794000D0C78 /* SpeziFirebaseAccountStorage */, ); - productName = TemplateApplication; - productReference = 653A254D283387FE005D4D48 /* TemplateApplication.app */; + productName = StudyApplication; + productReference = 653A254D283387FE005D4D48 /* StudyApplication.app */; productType = "com.apple.product-type.application"; }; - 653A255C28338800005D4D48 /* TemplateApplicationTests */ = { + 653A255C28338800005D4D48 /* StudyApplicationTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "TemplateApplicationTests" */; + buildConfigurationList = 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "StudyApplicationTests" */; buildPhases = ( 653A255928338800005D4D48 /* Sources */, 653A255A28338800005D4D48 /* Frameworks */, @@ -447,14 +446,14 @@ dependencies = ( 653A255F28338800005D4D48 /* PBXTargetDependency */, ); - name = TemplateApplicationTests; - productName = TemplateApplicationTests; - productReference = 653A255D28338800005D4D48 /* TemplateApplicationTests.xctest */; + name = StudyApplicationTests; + productName = StudyApplicationTests; + productReference = 653A255D28338800005D4D48 /* StudyApplicationTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - 653A256628338800005D4D48 /* TemplateApplicationUITests */ = { + 653A256628338800005D4D48 /* StudyApplicationUITests */ = { isa = PBXNativeTarget; - buildConfigurationList = 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "TemplateApplicationUITests" */; + buildConfigurationList = 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "StudyApplicationUITests" */; buildPhases = ( 653A256328338800005D4D48 /* Sources */, 653A256428338800005D4D48 /* Frameworks */, @@ -465,13 +464,13 @@ dependencies = ( 653A256928338800005D4D48 /* PBXTargetDependency */, ); - name = TemplateApplicationUITests; + name = StudyApplicationUITests; packageProductDependencies = ( 2FE5DC9829EDD9D9004B9AB4 /* XCTestExtensions */, 2FE5DC9B29EDD9EF004B9AB4 /* XCTHealthKit */, ); - productName = TemplateApplicationUITests; - productReference = 653A256728338800005D4D48 /* TemplateApplicationUITests.xctest */; + productName = StudyApplicationUITests; + productReference = 653A256728338800005D4D48 /* StudyApplicationUITests.xctest */; productType = "com.apple.product-type.bundle.ui-testing"; }; /* End PBXNativeTarget section */ @@ -497,7 +496,7 @@ }; }; }; - buildConfigurationList = 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "TemplateApplication" */; + buildConfigurationList = 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "StudyApplication" */; compatibilityVersion = "Xcode 13.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -529,9 +528,9 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 653A254C283387FE005D4D48 /* TemplateApplication */, - 653A255C28338800005D4D48 /* TemplateApplicationTests */, - 653A256628338800005D4D48 /* TemplateApplicationUITests */, + 653A254C283387FE005D4D48 /* StudyApplication */, + 653A255C28338800005D4D48 /* StudyApplicationTests */, + 653A256628338800005D4D48 /* StudyApplicationUITests */, ); }; /* End PBXProject section */ @@ -585,25 +584,6 @@ shellPath = /bin/sh; shellScript = "if [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\n if which swiftlint > /dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi\n"; }; - 566155202AB8387700209B80 /* Run Script - Generate Swift Package List */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - name = "Run Script - Generate Swift Package List"; - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "if command -v swift-package-list &> /dev/null; then\n OUTPUT_PATH=$SOURCE_ROOT/$TARGETNAME\n swift-package-list generate \"$PROJECT_FILE_PATH\" --output-path \"$OUTPUT_PATH\" --requires-license\nelse\n echo \"warning: swift-package-list not installed\"\nfi\n"; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -622,24 +602,24 @@ 2FE5DC4E29EDD7FA004B9AB4 /* ScheduleView.swift in Sources */, A9DFE8A92ABE551400428242 /* AccountButton.swift in Sources */, 2FE5DC3729EDD7CA004B9AB4 /* OnboardingFlow.swift in Sources */, - 2FF53D8D2A8729D600042B76 /* TemplateApplicationStandard.swift in Sources */, + 2FF53D8D2A8729D600042B76 /* StudyApplicationStandard.swift in Sources */, 2FE5DC4729EDD7F2004B9AB4 /* CodableArray+RawRepresentable.swift in Sources */, A9720E432ABB68CC00872D23 /* AccountSetupHeader.swift in Sources */, 2FE5DC4029EDD7EE004B9AB4 /* FeatureFlags.swift in Sources */, 2FE5DC4629EDD7F2004B9AB4 /* Bundle+Image.swift in Sources */, 2FE5DC4F29EDD7FA004B9AB4 /* EventContext.swift in Sources */, 2FE5DC5029EDD7FA004B9AB4 /* EventContextView.swift in Sources */, - 2F4E23832989D51F0013F3D9 /* TemplateAppTestingSetup.swift in Sources */, + 2F4E23832989D51F0013F3D9 /* StudyAppTestingSetup.swift in Sources */, 2FE5DC5329EDD7FA004B9AB4 /* Bundle+Questionnaire.swift in Sources */, - 2FE5DC5129EDD7FA004B9AB4 /* TemplateApplicationTaskContext.swift in Sources */, + 2FE5DC5129EDD7FA004B9AB4 /* StudyApplicationTaskContext.swift in Sources */, 97D8B2AB2A769A6E00715F50 /* OnboardingFlow+PreviewSimulator.swift in Sources */, 56F6F2A02AB441930022FE5A /* ContributionsList.swift in Sources */, 566155292AB8447C00209B80 /* Package+LicenseType.swift in Sources */, 5680DD392AB8983D004E6D4A /* PackageCell.swift in Sources */, - 2F5E32BD297E05EA003432F8 /* TemplateAppDelegate.swift in Sources */, - 2FE5DC5229EDD7FA004B9AB4 /* TemplateApplicationScheduler.swift in Sources */, + 2F5E32BD297E05EA003432F8 /* StudyAppDelegate.swift in Sources */, + 2FE5DC5229EDD7FA004B9AB4 /* StudyApplicationScheduler.swift in Sources */, A9FE7AD02AA39BAB0077B045 /* AccountSheet.swift in Sources */, - 653A2551283387FE005D4D48 /* TemplateApplication.swift in Sources */, + 653A2551283387FE005D4D48 /* StudyApplication.swift in Sources */, 2FE5DC3629EDD7CA004B9AB4 /* HealthKitPermissions.swift in Sources */, 2F65B44E2A3B8B0600A36932 /* NotificationPermissions.swift in Sources */, 97D8B2A42A7653E600715F50 /* ProcessInfo+PreviewSimulator.swift in Sources */, @@ -653,7 +633,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 653A256228338800005D4D48 /* TemplateApplicationTests.swift in Sources */, + 653A256228338800005D4D48 /* StudyApplicationTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -678,12 +658,12 @@ }; 653A255F28338800005D4D48 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 653A254C283387FE005D4D48 /* TemplateApplication */; + target = 653A254C283387FE005D4D48 /* StudyApplication */; targetProxy = 653A255E28338800005D4D48 /* PBXContainerItemProxy */; }; 653A256928338800005D4D48 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 653A254C283387FE005D4D48 /* TemplateApplication */; + target = 653A254C283387FE005D4D48 /* StudyApplication */; targetProxy = 653A256828338800005D4D48 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -756,7 +736,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = "TemplateApplication/Supporting Files/TemplateApplication.entitlements"; + CODE_SIGN_ENTITLEMENTS = "StudyApplication/Supporting Files/StudyApplication.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -764,33 +744,33 @@ DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "TemplateApplication/Supporting Files/Info.plist"; + INFOPLIST_FILE = "StudyApplication/Supporting Files/Info.plist"; INFOPLIST_KEY_NSCameraUsageDescription = "This message should never appear. Please adjust this when you start using camera information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_NSHealthShareUsageDescription = "The Spezi Template Application uses the step count to demonstrate Spezi's integration with HealthKit."; - INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Spezi Template Application uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthShareUsageDescription = "The Spezi Study Application uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Spezi Study Application uses the step count to demonstrate Spezi's integration with HealthKit."; INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMicrophoneUsageDescription = "This message should never appear. Please adjust this when you start using microphone information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMotionUsageDescription = "This message should never appear. Please adjust this when you start using motion information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "This message should never appear. Please adjust this when you start using speecg information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UIStudyApplicationlicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIStudyApplicationlicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; - INFOPLIST_KEY_UITemplateApplicationlicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UITemplateApplicationlicationSupportsIndirectInputEvents = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplication; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplication; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = YES; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; @@ -808,12 +788,12 @@ GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplication.tests; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplication.tests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TemplateApplication.app/TemplateApplication"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StudyApplication.app/StudyApplication"; }; name = Test; }; @@ -827,12 +807,12 @@ GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplicationuitests; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplicationuitests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = TemplateApplication; + TEST_TARGET_NAME = StudyApplication; }; name = Test; }; @@ -959,7 +939,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = "TemplateApplication/Supporting Files/TemplateApplication.entitlements"; + CODE_SIGN_ENTITLEMENTS = "StudyApplication/Supporting Files/StudyApplication.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -967,33 +947,33 @@ DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "TemplateApplication/Supporting Files/Info.plist"; + INFOPLIST_FILE = "StudyApplication/Supporting Files/Info.plist"; INFOPLIST_KEY_NSCameraUsageDescription = "This message should never appear. Please adjust this when you start using camera information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_NSHealthShareUsageDescription = "The Spezi Template Application uses the step count to demonstrate Spezi's integration with HealthKit."; - INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Spezi Template Application uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthShareUsageDescription = "The Spezi Study Application uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Spezi Study Application uses the step count to demonstrate Spezi's integration with HealthKit."; INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMicrophoneUsageDescription = "This message should never appear. Please adjust this when you start using microphone information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMotionUsageDescription = "This message should never appear. Please adjust this when you start using motion information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "This message should never appear. Please adjust this when you start using speecg information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UIStudyApplicationlicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIStudyApplicationlicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; - INFOPLIST_KEY_UITemplateApplicationlicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UITemplateApplicationlicationSupportsIndirectInputEvents = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplication; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplication; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = YES; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; @@ -1005,7 +985,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = "TemplateApplication/Supporting Files/TemplateApplication.entitlements"; + CODE_SIGN_ENTITLEMENTS = "StudyApplication/Supporting Files/StudyApplication.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; @@ -1015,34 +995,34 @@ "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 637867499T; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "TemplateApplication/Supporting Files/Info.plist"; + INFOPLIST_FILE = "StudyApplication/Supporting Files/Info.plist"; INFOPLIST_KEY_NSCameraUsageDescription = "This message should never appear. Please adjust this when you start using camera information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_NSHealthShareUsageDescription = "The Spezi Template Application uses the step count to demonstrate Spezi's integration with HealthKit."; - INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Spezi Template Application uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthShareUsageDescription = "The Spezi Study Application uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Spezi Study Application uses the step count to demonstrate Spezi's integration with HealthKit."; INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMicrophoneUsageDescription = "This message should never appear. Please adjust this when you start using microphone information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMotionUsageDescription = "This message should never appear. Please adjust this when you start using motion information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "This message should never appear. Please adjust this when you start using speecg information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UIStudyApplicationlicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIStudyApplicationlicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; - INFOPLIST_KEY_UITemplateApplicationlicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UITemplateApplicationlicationSupportsIndirectInputEvents = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplication; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplication; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Spezi Template Application"; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Spezi Study Application"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = YES; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; @@ -1060,12 +1040,12 @@ GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplication.tests; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplication.tests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TemplateApplication.app/TemplateApplication"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StudyApplication.app/StudyApplication"; }; name = Debug; }; @@ -1080,12 +1060,12 @@ GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplication.tests; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplication.tests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TemplateApplication.app/TemplateApplication"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StudyApplication.app/StudyApplication"; }; name = Release; }; @@ -1099,12 +1079,12 @@ GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplicationuitests; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplicationuitests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = TemplateApplication; + TEST_TARGET_NAME = StudyApplication; }; name = Debug; }; @@ -1118,19 +1098,19 @@ GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.templateapplicationuitests; + PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.spezi.studyapplicationuitests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-TemplateApplication_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-StudyApplication_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = TemplateApplication; + TEST_TARGET_NAME = StudyApplication; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "TemplateApplication" */ = { + 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "StudyApplication" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A256F28338800005D4D48 /* Debug */, @@ -1140,7 +1120,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "TemplateApplication" */ = { + 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "StudyApplication" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A257228338800005D4D48 /* Debug */, @@ -1150,7 +1130,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "TemplateApplicationTests" */ = { + 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "StudyApplicationTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A257528338800005D4D48 /* Debug */, @@ -1160,7 +1140,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "TemplateApplicationUITests" */ = { + 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "StudyApplicationUITests" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A257828338800005D4D48 /* Debug */, diff --git a/TemplateApplication.xcodeproj/project.pbxproj.license b/StudyApplication.xcodeproj/project.pbxproj.license similarity index 51% rename from TemplateApplication.xcodeproj/project.pbxproj.license rename to StudyApplication.xcodeproj/project.pbxproj.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication.xcodeproj/project.pbxproj.license +++ b/StudyApplication.xcodeproj/project.pbxproj.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/StudyApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from TemplateApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to StudyApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/TemplateApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license b/StudyApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license similarity index 51% rename from TemplateApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license rename to StudyApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license +++ b/StudyApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license b/StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license similarity index 51% rename from TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license rename to StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license +++ b/StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved similarity index 100% rename from TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved rename to StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license b/StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license similarity index 51% rename from TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license rename to StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license +++ b/StudyApplication.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme b/StudyApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme similarity index 79% rename from TemplateApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme rename to StudyApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme index fb8eeaf..fcb6bf3 100644 --- a/TemplateApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme +++ b/StudyApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "StudyApplication.app" + BlueprintName = "StudyApplication" + ReferencedContainer = "container:StudyApplication.xcodeproj"> @@ -29,7 +29,7 @@ shouldUseLaunchSchemeArgsEnv = "YES"> @@ -39,9 +39,9 @@ + BuildableName = "StudyApplicationTests.xctest" + BlueprintName = "StudyApplicationTests" + ReferencedContainer = "container:StudyApplication.xcodeproj"> + BuildableName = "StudyApplicationUITests.xctest" + BlueprintName = "StudyApplicationUITests" + ReferencedContainer = "container:StudyApplication.xcodeproj"> @@ -71,9 +71,9 @@ + BuildableName = "StudyApplication.app" + BlueprintName = "StudyApplication" + ReferencedContainer = "container:StudyApplication.xcodeproj"> @@ -110,9 +110,9 @@ + BuildableName = "StudyApplication.app" + BlueprintName = "StudyApplication" + ReferencedContainer = "container:StudyApplication.xcodeproj"> diff --git a/TemplateApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme.license b/StudyApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme.license similarity index 51% rename from TemplateApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme.license rename to StudyApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme.license +++ b/StudyApplication.xcodeproj/xcshareddata/xcschemes/TemplateApplication.xcscheme.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication.xctestplan b/StudyApplication.xctestplan similarity index 59% rename from TemplateApplication.xctestplan rename to StudyApplication.xctestplan index 5d65ec1..de3d8e9 100644 --- a/TemplateApplication.xctestplan +++ b/StudyApplication.xctestplan @@ -10,24 +10,24 @@ ], "defaultOptions" : { "targetForVariableExpansion" : { - "containerPath" : "container:TemplateApplication.xcodeproj", + "containerPath" : "container:StudyApplication.xcodeproj", "identifier" : "653A254C283387FE005D4D48", - "name" : "TemplateApplication" + "name" : "StudyApplication" } }, "testTargets" : [ { "target" : { - "containerPath" : "container:TemplateApplication.xcodeproj", + "containerPath" : "container:StudyApplication.xcodeproj", "identifier" : "653A255C28338800005D4D48", - "name" : "TemplateApplicationTests" + "name" : "StudyApplicationTests" } }, { "target" : { - "containerPath" : "container:TemplateApplication.xcodeproj", + "containerPath" : "container:StudyApplication.xcodeproj", "identifier" : "653A256628338800005D4D48", - "name" : "TemplateApplicationUITests" + "name" : "StudyApplicationUITests" } } ], diff --git a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderList.png.license b/StudyApplication.xctestplan.license similarity index 51% rename from Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderList.png.license rename to StudyApplication.xctestplan.license index d3f1e1e..07e2bca 100644 --- a/Figures/TemplateMockDataStorageProvider/TemplateMockDataStorageProviderList.png.license +++ b/StudyApplication.xctestplan.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Account/AccountButton.swift b/StudyApplication/Account/AccountButton.swift similarity index 89% rename from TemplateApplication/Account/AccountButton.swift rename to StudyApplication/Account/AccountButton.swift index 8b75b63..322eb80 100644 --- a/TemplateApplication/Account/AccountButton.swift +++ b/StudyApplication/Account/AccountButton.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Account/AccountSetupHeader.swift b/StudyApplication/Account/AccountSetupHeader.swift similarity index 92% rename from TemplateApplication/Account/AccountSetupHeader.swift rename to StudyApplication/Account/AccountSetupHeader.swift index 03a3bb2..fb26f17 100644 --- a/TemplateApplication/Account/AccountSetupHeader.swift +++ b/StudyApplication/Account/AccountSetupHeader.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Account/AccountSheet.swift b/StudyApplication/Account/AccountSheet.swift similarity index 96% rename from TemplateApplication/Account/AccountSheet.swift rename to StudyApplication/Account/AccountSheet.swift index ae2239f..f045a3e 100644 --- a/TemplateApplication/Account/AccountSheet.swift +++ b/StudyApplication/Account/AccountSheet.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Contacts/Contacts.swift b/StudyApplication/Contacts/Contacts.swift similarity index 94% rename from TemplateApplication/Contacts/Contacts.swift rename to StudyApplication/Contacts/Contacts.swift index 13523ac..38454ad 100644 --- a/TemplateApplication/Contacts/Contacts.swift +++ b/StudyApplication/Contacts/Contacts.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -11,7 +11,7 @@ import SpeziContact import SwiftUI -/// Displays the contacts for the Spezi Template Application. +/// Displays the contacts for the Spezi Study Application. struct Contacts: View { let contacts = [ Contact( diff --git a/TemplateApplication/Contributions/ContributionsList.swift b/StudyApplication/Contributions/ContributionsList.swift similarity index 94% rename from TemplateApplication/Contributions/ContributionsList.swift rename to StudyApplication/Contributions/ContributionsList.swift index 071e245..b00d4cf 100644 --- a/TemplateApplication/Contributions/ContributionsList.swift +++ b/StudyApplication/Contributions/ContributionsList.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Contributions/Package+LicenseType.swift b/StudyApplication/Contributions/Package+LicenseType.swift similarity index 97% rename from TemplateApplication/Contributions/Package+LicenseType.swift rename to StudyApplication/Contributions/Package+LicenseType.swift index f6e5b0e..adbf099 100644 --- a/TemplateApplication/Contributions/Package+LicenseType.swift +++ b/StudyApplication/Contributions/Package+LicenseType.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Contributions/PackageCell.swift b/StudyApplication/Contributions/PackageCell.swift similarity index 96% rename from TemplateApplication/Contributions/PackageCell.swift rename to StudyApplication/Contributions/PackageCell.swift index a0658c6..a967ddf 100644 --- a/TemplateApplication/Contributions/PackageCell.swift +++ b/StudyApplication/Contributions/PackageCell.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Contributions/PackageHelper.swift b/StudyApplication/Contributions/PackageHelper.swift similarity index 88% rename from TemplateApplication/Contributions/PackageHelper.swift rename to StudyApplication/Contributions/PackageHelper.swift index cb42ab0..52e548d 100644 --- a/TemplateApplication/Contributions/PackageHelper.swift +++ b/StudyApplication/Contributions/PackageHelper.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Helper/Binding+Negate.swift b/StudyApplication/Helper/Binding+Negate.swift similarity index 82% rename from TemplateApplication/Helper/Binding+Negate.swift rename to StudyApplication/Helper/Binding+Negate.swift index 0999ce9..18f4d8d 100644 --- a/TemplateApplication/Helper/Binding+Negate.swift +++ b/StudyApplication/Helper/Binding+Negate.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Helper/Bundle+Image.swift b/StudyApplication/Helper/Bundle+Image.swift similarity index 92% rename from TemplateApplication/Helper/Bundle+Image.swift rename to StudyApplication/Helper/Bundle+Image.swift index 25caeaf..e566864 100644 --- a/TemplateApplication/Helper/Bundle+Image.swift +++ b/StudyApplication/Helper/Bundle+Image.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Helper/CodableArray+RawRepresentable.swift b/StudyApplication/Helper/CodableArray+RawRepresentable.swift similarity index 89% rename from TemplateApplication/Helper/CodableArray+RawRepresentable.swift rename to StudyApplication/Helper/CodableArray+RawRepresentable.swift index 9e73392..d869990 100644 --- a/TemplateApplication/Helper/CodableArray+RawRepresentable.swift +++ b/StudyApplication/Helper/CodableArray+RawRepresentable.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Helper/ProcessInfo+PreviewSimulator.swift b/StudyApplication/Helper/ProcessInfo+PreviewSimulator.swift similarity index 75% rename from TemplateApplication/Helper/ProcessInfo+PreviewSimulator.swift rename to StudyApplication/Helper/ProcessInfo+PreviewSimulator.swift index f83b5fb..330ff7a 100644 --- a/TemplateApplication/Helper/ProcessInfo+PreviewSimulator.swift +++ b/StudyApplication/Helper/ProcessInfo+PreviewSimulator.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Home.swift b/StudyApplication/Home.swift similarity index 93% rename from TemplateApplication/Home.swift rename to StudyApplication/Home.swift index 6f31de8..fa6a69b 100644 --- a/TemplateApplication/Home.swift +++ b/StudyApplication/Home.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -66,7 +66,7 @@ struct HomeView: View { return HomeView() .environment(Account(building: details, active: MockUserIdPasswordAccountService())) - .environment(TemplateApplicationScheduler()) + .environment(StudyApplicationScheduler()) .environment(MockWebService()) } #endif diff --git a/TemplateApplication/MockUpload/MockUpload.swift b/StudyApplication/MockUpload/MockUpload.swift similarity index 90% rename from TemplateApplication/MockUpload/MockUpload.swift rename to StudyApplication/MockUpload/MockUpload.swift index ad038c4..a8e163d 100644 --- a/TemplateApplication/MockUpload/MockUpload.swift +++ b/StudyApplication/MockUpload/MockUpload.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Onboarding/AccountOnboarding.swift b/StudyApplication/Onboarding/AccountOnboarding.swift similarity index 95% rename from TemplateApplication/Onboarding/AccountOnboarding.swift rename to StudyApplication/Onboarding/AccountOnboarding.swift index 2e1666a..4eb1b06 100644 --- a/TemplateApplication/Onboarding/AccountOnboarding.swift +++ b/StudyApplication/Onboarding/AccountOnboarding.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Onboarding/Consent.swift b/StudyApplication/Onboarding/Consent.swift similarity index 93% rename from TemplateApplication/Onboarding/Consent.swift rename to StudyApplication/Onboarding/Consent.swift index 8f46ad0..f6e741a 100644 --- a/TemplateApplication/Onboarding/Consent.swift +++ b/StudyApplication/Onboarding/Consent.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Onboarding/HealthKitPermissions.swift b/StudyApplication/Onboarding/HealthKitPermissions.swift similarity index 96% rename from TemplateApplication/Onboarding/HealthKitPermissions.swift rename to StudyApplication/Onboarding/HealthKitPermissions.swift index 3d85ee8..a0622fc 100644 --- a/TemplateApplication/Onboarding/HealthKitPermissions.swift +++ b/StudyApplication/Onboarding/HealthKitPermissions.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Onboarding/InterestingModules.swift b/StudyApplication/Onboarding/InterestingModules.swift similarity index 95% rename from TemplateApplication/Onboarding/InterestingModules.swift rename to StudyApplication/Onboarding/InterestingModules.swift index c2d601b..af4cd16 100644 --- a/TemplateApplication/Onboarding/InterestingModules.swift +++ b/StudyApplication/Onboarding/InterestingModules.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Onboarding/NotificationPermissions.swift b/StudyApplication/Onboarding/NotificationPermissions.swift similarity index 94% rename from TemplateApplication/Onboarding/NotificationPermissions.swift rename to StudyApplication/Onboarding/NotificationPermissions.swift index d79256b..d49b466 100644 --- a/TemplateApplication/Onboarding/NotificationPermissions.swift +++ b/StudyApplication/Onboarding/NotificationPermissions.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -12,7 +12,7 @@ import SwiftUI struct NotificationPermissions: View { - @Environment(TemplateApplicationScheduler.self) private var scheduler + @Environment(StudyApplicationScheduler.self) private var scheduler @Environment(OnboardingNavigationPath.self) private var onboardingNavigationPath @State private var notificationProcessing = false diff --git a/TemplateApplication/Onboarding/OnboardingFlow+PreviewSimulator.swift b/StudyApplication/Onboarding/OnboardingFlow+PreviewSimulator.swift similarity index 83% rename from TemplateApplication/Onboarding/OnboardingFlow+PreviewSimulator.swift rename to StudyApplication/Onboarding/OnboardingFlow+PreviewSimulator.swift index 02c2af2..7ba4f90 100644 --- a/TemplateApplication/Onboarding/OnboardingFlow+PreviewSimulator.swift +++ b/StudyApplication/Onboarding/OnboardingFlow+PreviewSimulator.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Onboarding/OnboardingFlow.swift b/StudyApplication/Onboarding/OnboardingFlow.swift similarity index 85% rename from TemplateApplication/Onboarding/OnboardingFlow.swift rename to StudyApplication/Onboarding/OnboardingFlow.swift index 1d6a3e3..4eac3b5 100644 --- a/TemplateApplication/Onboarding/OnboardingFlow.swift +++ b/StudyApplication/Onboarding/OnboardingFlow.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -13,10 +13,10 @@ import SpeziOnboarding import SwiftUI -/// Displays an multi-step onboarding flow for the Spezi Template Application. +/// Displays an multi-step onboarding flow for the Spezi Study Application. struct OnboardingFlow: View { @Environment(HealthKit.self) private var healthKitDataSource - @Environment(TemplateApplicationScheduler.self) private var scheduler + @Environment(StudyApplicationScheduler.self) private var scheduler @AppStorage(StorageKeys.onboardingFlowComplete) private var completedOnboardingFlow = false @@ -66,6 +66,6 @@ struct OnboardingFlow: View { #Preview { OnboardingFlow() .environment(Account(MockUserIdPasswordAccountService())) - .environment(TemplateApplicationScheduler()) + .environment(StudyApplicationScheduler()) } #endif diff --git a/TemplateApplication/Onboarding/Welcome.swift b/StudyApplication/Onboarding/Welcome.swift similarity index 95% rename from TemplateApplication/Onboarding/Welcome.swift rename to StudyApplication/Onboarding/Welcome.swift index a4c81b7..0c46614 100644 --- a/TemplateApplication/Onboarding/Welcome.swift +++ b/StudyApplication/Onboarding/Welcome.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Resources/AppIcon.png b/StudyApplication/Resources/AppIcon.png similarity index 100% rename from TemplateApplication/Resources/AppIcon.png rename to StudyApplication/Resources/AppIcon.png diff --git a/TemplateApplication/Resources/AppIcon.png.license b/StudyApplication/Resources/AppIcon.png.license similarity index 51% rename from TemplateApplication/Resources/AppIcon.png.license rename to StudyApplication/Resources/AppIcon.png.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/AppIcon.png.license +++ b/StudyApplication/Resources/AppIcon.png.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json b/StudyApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from TemplateApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json rename to StudyApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/TemplateApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license b/StudyApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license similarity index 51% rename from TemplateApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license rename to StudyApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license +++ b/StudyApplication/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png b/StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png similarity index 100% rename from TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png rename to StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png diff --git a/TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license b/StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license similarity index 51% rename from TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license rename to StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license +++ b/StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json rename to StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license b/StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license similarity index 51% rename from TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license rename to StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license +++ b/StudyApplication/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Resources/Assets.xcassets/Contents.json b/StudyApplication/Resources/Assets.xcassets/Contents.json similarity index 100% rename from TemplateApplication/Resources/Assets.xcassets/Contents.json rename to StudyApplication/Resources/Assets.xcassets/Contents.json diff --git a/TemplateApplication/Resources/Assets.xcassets/Contents.json.license b/StudyApplication/Resources/Assets.xcassets/Contents.json.license similarity index 51% rename from TemplateApplication/Resources/Assets.xcassets/Contents.json.license rename to StudyApplication/Resources/Assets.xcassets/Contents.json.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/Assets.xcassets/Contents.json.license +++ b/StudyApplication/Resources/Assets.xcassets/Contents.json.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Resources/ConsentDocument.md b/StudyApplication/Resources/ConsentDocument.md similarity index 100% rename from TemplateApplication/Resources/ConsentDocument.md rename to StudyApplication/Resources/ConsentDocument.md diff --git a/TemplateApplication/Resources/ConsentDocument.md.license b/StudyApplication/Resources/ConsentDocument.md.license similarity index 51% rename from TemplateApplication/Resources/ConsentDocument.md.license rename to StudyApplication/Resources/ConsentDocument.md.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/ConsentDocument.md.license +++ b/StudyApplication/Resources/ConsentDocument.md.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Resources/Localizable.xcstrings b/StudyApplication/Resources/Localizable.xcstrings similarity index 98% rename from TemplateApplication/Resources/Localizable.xcstrings rename to StudyApplication/Resources/Localizable.xcstrings index 13466db..8a2e11c 100644 --- a/TemplateApplication/Resources/Localizable.xcstrings +++ b/StudyApplication/Resources/Localizable.xcstrings @@ -39,7 +39,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The Template Application demonstrates the usage of the Firebase Account Module." + "value" : "The Study Application demonstrates the usage of the Firebase Account Module." } } } @@ -54,6 +54,9 @@ } } } + }, + "Background" : { + }, "CLOSE" : { "comment" : "MARK: General", @@ -112,7 +115,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The following list contains all Swift Package dependencies of the SpeziTemplateApplication." + "value" : "The following list contains all Swift Package dependencies of the SpeziStudyApplication." } } } @@ -450,7 +453,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The Spezi Framework builds the foundation of this template application." + "value" : "The Spezi Framework builds the foundation of this study application." } } } @@ -531,7 +534,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Spezi\nTemplate Application" + "value" : "Spezi\nStudy Application" } } } diff --git a/TemplateApplication/Resources/Localizable.xcstrings.license b/StudyApplication/Resources/Localizable.xcstrings.license similarity index 51% rename from TemplateApplication/Resources/Localizable.xcstrings.license rename to StudyApplication/Resources/Localizable.xcstrings.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/Localizable.xcstrings.license +++ b/StudyApplication/Resources/Localizable.xcstrings.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Resources/SocialSupportQuestionnaire.json b/StudyApplication/Resources/SocialSupportQuestionnaire.json similarity index 100% rename from TemplateApplication/Resources/SocialSupportQuestionnaire.json rename to StudyApplication/Resources/SocialSupportQuestionnaire.json diff --git a/TemplateApplication/Resources/SocialSupportQuestionnaire.json.license b/StudyApplication/Resources/SocialSupportQuestionnaire.json.license similarity index 51% rename from TemplateApplication/Resources/SocialSupportQuestionnaire.json.license rename to StudyApplication/Resources/SocialSupportQuestionnaire.json.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Resources/SocialSupportQuestionnaire.json.license +++ b/StudyApplication/Resources/SocialSupportQuestionnaire.json.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Schedule/Bundle+Questionnaire.swift b/StudyApplication/Schedule/Bundle+Questionnaire.swift similarity index 90% rename from TemplateApplication/Schedule/Bundle+Questionnaire.swift rename to StudyApplication/Schedule/Bundle+Questionnaire.swift index 5ca4f99..60fae7b 100644 --- a/TemplateApplication/Schedule/Bundle+Questionnaire.swift +++ b/StudyApplication/Schedule/Bundle+Questionnaire.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Schedule/EventContext.swift b/StudyApplication/Schedule/EventContext.swift similarity index 74% rename from TemplateApplication/Schedule/EventContext.swift rename to StudyApplication/Schedule/EventContext.swift index 4c34729..9588cbc 100644 --- a/TemplateApplication/Schedule/EventContext.swift +++ b/StudyApplication/Schedule/EventContext.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -11,7 +11,7 @@ import SpeziScheduler struct EventContext: Comparable, Identifiable { let event: Event - let task: Task + let task: Task var id: Event.ID { diff --git a/TemplateApplication/Schedule/EventContextView.swift b/StudyApplication/Schedule/EventContextView.swift similarity index 95% rename from TemplateApplication/Schedule/EventContextView.swift rename to StudyApplication/Schedule/EventContextView.swift index 3566b4b..3ff24af 100644 --- a/TemplateApplication/Schedule/EventContextView.swift +++ b/StudyApplication/Schedule/EventContextView.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -65,7 +65,7 @@ struct EventContextView: View { #if DEBUG #Preview(traits: .sizeThatFitsLayout) { - let task = TemplateApplicationScheduler.socialSupportTask + let task = StudyApplicationScheduler.socialSupportTask return EventContextView( eventContext: EventContext( diff --git a/TemplateApplication/Schedule/ModalView.swift b/StudyApplication/Schedule/ModalView.swift similarity index 92% rename from TemplateApplication/Schedule/ModalView.swift rename to StudyApplication/Schedule/ModalView.swift index acbe972..8ceb4de 100644 --- a/TemplateApplication/Schedule/ModalView.swift +++ b/StudyApplication/Schedule/ModalView.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/Schedule/ScheduleView.swift b/StudyApplication/Schedule/ScheduleView.swift similarity index 92% rename from TemplateApplication/Schedule/ScheduleView.swift rename to StudyApplication/Schedule/ScheduleView.swift index d87d1ce..1813cf6 100644 --- a/TemplateApplication/Schedule/ScheduleView.swift +++ b/StudyApplication/Schedule/ScheduleView.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -13,8 +13,8 @@ import SwiftUI struct ScheduleView: View { - @Environment(TemplateApplicationStandard.self) private var standard - @Environment(TemplateApplicationScheduler.self) private var scheduler + @Environment(StudyApplicationStandard.self) private var standard + @Environment(StudyApplicationScheduler.self) private var scheduler @State private var eventContextsByDate: [Date: [EventContext]] = [:] @State private var presentedContext: EventContext? @@ -121,7 +121,7 @@ struct ScheduleView: View { #if DEBUG #Preview("ScheduleView") { ScheduleView(presentingAccount: .constant(false)) - .environment(TemplateApplicationScheduler()) + .environment(StudyApplicationScheduler()) .environment(Account()) } @@ -131,7 +131,7 @@ struct ScheduleView: View { .set(\.name, value: PersonNameComponents(givenName: "Leland", familyName: "Stanford")) return ScheduleView(presentingAccount: .constant(true)) - .environment(TemplateApplicationScheduler()) + .environment(StudyApplicationScheduler()) .environment(Account(building: details, active: MockUserIdPasswordAccountService())) } #endif diff --git a/TemplateApplication/Schedule/TemplateApplicationScheduler.swift b/StudyApplication/Schedule/StudyApplicationScheduler.swift similarity index 64% rename from TemplateApplication/Schedule/TemplateApplicationScheduler.swift rename to StudyApplication/Schedule/StudyApplicationScheduler.swift index 68d7fa4..9a5fc15 100644 --- a/TemplateApplication/Schedule/TemplateApplicationScheduler.swift +++ b/StudyApplication/Schedule/StudyApplicationScheduler.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -10,13 +10,13 @@ import Foundation import SpeziScheduler -/// A `Scheduler` using the ``TemplateApplicationTaskContext`` to schedule and manage tasks and events in the -/// Spezi Template Application. -typealias TemplateApplicationScheduler = Scheduler +/// A `Scheduler` using the ``StudyApplicationTaskContext`` to schedule and manage tasks and events in the +/// Spezi Study Application. +typealias StudyApplicationScheduler = Scheduler -extension TemplateApplicationScheduler { - static var socialSupportTask: SpeziScheduler.Task { +extension StudyApplicationScheduler { + static var socialSupportTask: SpeziScheduler.Task { let dateComponents: DateComponents if FeatureFlags.testSchedule { // Adds a task at the current time for UI testing if the `--testSchedule` feature flag is set @@ -38,11 +38,11 @@ extension TemplateApplicationScheduler { end: .numberOfEvents(365) ), notifications: true, - context: TemplateApplicationTaskContext.questionnaire(Bundle.main.questionnaire(withName: "SocialSupportQuestionnaire")) + context: StudyApplicationTaskContext.questionnaire(Bundle.main.questionnaire(withName: "SocialSupportQuestionnaire")) ) } - /// Creates a default instance of the ``TemplateApplicationScheduler`` by scheduling the tasks listed below. + /// Creates a default instance of the ``StudyApplicationScheduler`` by scheduling the tasks listed below. convenience init() { self.init(tasks: [Self.socialSupportTask]) } diff --git a/TemplateApplication/Schedule/TemplateApplicationTaskContext.swift b/StudyApplication/Schedule/StudyApplicationTaskContext.swift similarity index 81% rename from TemplateApplication/Schedule/TemplateApplicationTaskContext.swift rename to StudyApplication/Schedule/StudyApplicationTaskContext.swift index c5c0fe7..c844d25 100644 --- a/TemplateApplication/Schedule/TemplateApplicationTaskContext.swift +++ b/StudyApplication/Schedule/StudyApplicationTaskContext.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -10,10 +10,10 @@ import Foundation import SpeziFHIR -/// The context attached to each task in the Spezi Template Application. +/// The context attached to each task in the Spezi Study Application. /// /// We currently only support `Questionnaire`s, more cases can be added in the future. -enum TemplateApplicationTaskContext: Codable, Identifiable { +enum StudyApplicationTaskContext: Codable, Identifiable { /// The task should display a `Questionnaire`. case questionnaire(Questionnaire) /// The task is used for UI testing. diff --git a/TemplateApplication/SharedContext/FeatureFlags.swift b/StudyApplication/SharedContext/FeatureFlags.swift similarity index 100% rename from TemplateApplication/SharedContext/FeatureFlags.swift rename to StudyApplication/SharedContext/FeatureFlags.swift diff --git a/TemplateApplication/SharedContext/StorageKeys.swift b/StudyApplication/SharedContext/StorageKeys.swift similarity index 89% rename from TemplateApplication/SharedContext/StorageKeys.swift rename to StudyApplication/SharedContext/StorageKeys.swift index 8335841..c897fc3 100644 --- a/TemplateApplication/SharedContext/StorageKeys.swift +++ b/StudyApplication/SharedContext/StorageKeys.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplication/TemplateAppDelegate.swift b/StudyApplication/StudyAppDelegate.swift similarity index 90% rename from TemplateApplication/TemplateAppDelegate.swift rename to StudyApplication/StudyAppDelegate.swift index 572b3bc..427bbc4 100644 --- a/TemplateApplication/TemplateAppDelegate.swift +++ b/StudyApplication/StudyAppDelegate.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -18,9 +18,9 @@ import SpeziScheduler import SwiftUI -class TemplateAppDelegate: SpeziAppDelegate { +class StudyAppDelegate: SpeziAppDelegate { override var configuration: Configuration { - Configuration(standard: TemplateApplicationStandard()) { + Configuration(standard: StudyApplicationStandard()) { if !FeatureFlags.disableFirebase { AccountConfiguration(configuration: [ .requires(\.userId), @@ -50,7 +50,7 @@ class TemplateAppDelegate: SpeziAppDelegate { healthKit } MockWebService() - TemplateApplicationScheduler() + StudyApplicationScheduler() OnboardingDataSource() } } diff --git a/TemplateApplication/TemplateAppTestingSetup.swift b/StudyApplication/StudyAppTestingSetup.swift similarity index 77% rename from TemplateApplication/TemplateAppTestingSetup.swift rename to StudyApplication/StudyAppTestingSetup.swift index 801a103..7a9153d 100644 --- a/TemplateApplication/TemplateAppTestingSetup.swift +++ b/StudyApplication/StudyAppTestingSetup.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -9,7 +9,7 @@ import SwiftUI -private struct TemplateAppTestingSetup: ViewModifier { +private struct StudyAppTestingSetup: ViewModifier { @AppStorage(StorageKeys.onboardingFlowComplete) var completedOnboardingFlow = false @@ -29,6 +29,6 @@ private struct TemplateAppTestingSetup: ViewModifier { extension View { func testingSetup() -> some View { - self.modifier(TemplateAppTestingSetup()) + self.modifier(StudyAppTestingSetup()) } } diff --git a/TemplateApplication/TemplateApplication.swift b/StudyApplication/StudyApplication.swift similarity index 78% rename from TemplateApplication/TemplateApplication.swift rename to StudyApplication/StudyApplication.swift index 18d070e..e225186 100644 --- a/TemplateApplication/TemplateApplication.swift +++ b/StudyApplication/StudyApplication.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -12,8 +12,8 @@ import SwiftUI @main -struct TemplateApplication: App { - @UIApplicationDelegateAdaptor(TemplateAppDelegate.self) var appDelegate +struct StudyApplication: App { + @UIApplicationDelegateAdaptor(StudyAppDelegate.self) var appDelegate @AppStorage(StorageKeys.onboardingFlowComplete) var completedOnboardingFlow = false diff --git a/TemplateApplication/TemplateApplicationStandard.swift b/StudyApplication/StudyApplicationStandard.swift similarity index 92% rename from TemplateApplication/TemplateApplicationStandard.swift rename to StudyApplication/StudyApplicationStandard.swift index 4a1c855..80b03da 100644 --- a/TemplateApplication/TemplateApplicationStandard.swift +++ b/StudyApplication/StudyApplicationStandard.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -22,8 +22,8 @@ import SpeziQuestionnaire import SwiftUI -actor TemplateApplicationStandard: Standard, EnvironmentAccessible, HealthKitConstraint, OnboardingConstraint, AccountStorageStandard { - enum TemplateApplicationStandardError: Error { +actor StudyApplicationStandard: Standard, EnvironmentAccessible, HealthKitConstraint, OnboardingConstraint, AccountStorageStandard { + enum StudyApplicationStandardError: Error { case userNotAuthenticatedYet } @@ -36,13 +36,13 @@ actor TemplateApplicationStandard: Standard, EnvironmentAccessible, HealthKitCon @AccountReference var account: Account - private let logger = Logger(subsystem: "TemplateApplication", category: "Standard") + private let logger = Logger(subsystem: "StudyApplication", category: "Standard") private var userDocumentReference: DocumentReference { get async throws { guard let details = await account.details else { - throw TemplateApplicationStandardError.userNotAuthenticatedYet + throw StudyApplicationStandardError.userNotAuthenticatedYet } return Self.userCollection.document(details.accountId) @@ -52,7 +52,7 @@ actor TemplateApplicationStandard: Standard, EnvironmentAccessible, HealthKitCon private var userBucketReference: StorageReference { get async throws { guard let details = await account.details else { - throw TemplateApplicationStandardError.userNotAuthenticatedYet + throw StudyApplicationStandardError.userNotAuthenticatedYet } return Storage.storage().reference().child("users/\(details.accountId)") diff --git a/TemplateApplication/Supporting Files/GoogleService-Info.plist b/StudyApplication/Supporting Files/GoogleService-Info.plist similarity index 89% rename from TemplateApplication/Supporting Files/GoogleService-Info.plist rename to StudyApplication/Supporting Files/GoogleService-Info.plist index f7699ba..ccbff30 100644 --- a/TemplateApplication/Supporting Files/GoogleService-Info.plist +++ b/StudyApplication/Supporting Files/GoogleService-Info.plist @@ -13,9 +13,9 @@ PLIST_VERSION 1 BUNDLE_ID - edu.stanford.spezi.templateapplication + edu.stanford.spezi.studyapplication PROJECT_ID - stanfordspezitemplateapp + stanfordspezistudyapp STORAGE_BUCKET STORAGE_BUCKET IS_ADS_ENABLED diff --git a/TemplateApplication/Supporting Files/GoogleService-Info.plist.license b/StudyApplication/Supporting Files/GoogleService-Info.plist.license similarity index 62% rename from TemplateApplication/Supporting Files/GoogleService-Info.plist.license rename to StudyApplication/Supporting Files/GoogleService-Info.plist.license index 6d66422..3ee0688 100644 --- a/TemplateApplication/Supporting Files/GoogleService-Info.plist.license +++ b/StudyApplication/Supporting Files/GoogleService-Info.plist.license @@ -1,4 +1,4 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) diff --git a/TemplateApplication/Supporting Files/Info.plist b/StudyApplication/Supporting Files/Info.plist similarity index 100% rename from TemplateApplication/Supporting Files/Info.plist rename to StudyApplication/Supporting Files/Info.plist diff --git a/TemplateApplication/Supporting Files/Info.plist.license b/StudyApplication/Supporting Files/Info.plist.license similarity index 51% rename from TemplateApplication/Supporting Files/Info.plist.license rename to StudyApplication/Supporting Files/Info.plist.license index d3f1e1e..07e2bca 100644 --- a/TemplateApplication/Supporting Files/Info.plist.license +++ b/StudyApplication/Supporting Files/Info.plist.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplication/Supporting Files/TemplateApplication.entitlements b/StudyApplication/Supporting Files/StudyApplication.entitlements similarity index 100% rename from TemplateApplication/Supporting Files/TemplateApplication.entitlements rename to StudyApplication/Supporting Files/StudyApplication.entitlements diff --git a/Figures/TemplateContacts/Contacts.png.license b/StudyApplication/Supporting Files/StudyApplication.entitlements.license similarity index 51% rename from Figures/TemplateContacts/Contacts.png.license rename to StudyApplication/Supporting Files/StudyApplication.entitlements.license index d3f1e1e..07e2bca 100644 --- a/Figures/TemplateContacts/Contacts.png.license +++ b/StudyApplication/Supporting Files/StudyApplication.entitlements.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/TemplateApplicationTests/TemplateApplicationTests.swift b/StudyApplicationTests/StudyApplicationTests.swift similarity index 52% rename from TemplateApplicationTests/TemplateApplicationTests.swift rename to StudyApplicationTests/StudyApplicationTests.swift index edf4bb1..003b28b 100644 --- a/TemplateApplicationTests/TemplateApplicationTests.swift +++ b/StudyApplicationTests/StudyApplicationTests.swift @@ -1,16 +1,16 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // // SPDX-License-Identifier: MIT // -@testable import TemplateApplication +@testable import StudyApplication import XCTest -class TemplateApplicationTests: XCTestCase { +class StudyApplicationTests: XCTestCase { func testExample() throws { XCTAssertTrue(true) } diff --git a/TemplateApplicationUITests/ContactsTests.swift b/StudyApplicationUITests/ContactsTests.swift similarity index 93% rename from TemplateApplicationUITests/ContactsTests.swift rename to StudyApplicationUITests/ContactsTests.swift index b847b46..daa9467 100644 --- a/TemplateApplicationUITests/ContactsTests.swift +++ b/StudyApplicationUITests/ContactsTests.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplicationUITests/ContributionsTest.swift b/StudyApplicationUITests/ContributionsTest.swift similarity index 88% rename from TemplateApplicationUITests/ContributionsTest.swift rename to StudyApplicationUITests/ContributionsTest.swift index 3db616b..72fc749 100644 --- a/TemplateApplicationUITests/ContributionsTest.swift +++ b/StudyApplicationUITests/ContributionsTest.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -19,7 +19,7 @@ final class ContributionsTest: XCTestCase { let app = XCUIApplication() app.launchArguments = ["--showOnboarding"] - app.deleteAndLaunch(withSpringboardAppName: "TemplateApplication") + app.deleteAndLaunch(withSpringboardAppName: "StudyApplication") } func testLicenseInformationPage() throws { diff --git a/TemplateApplicationUITests/MockUploadTests.swift b/StudyApplicationUITests/MockUploadTests.swift similarity index 90% rename from TemplateApplicationUITests/MockUploadTests.swift rename to StudyApplicationUITests/MockUploadTests.swift index 32daf04..a308aba 100644 --- a/TemplateApplicationUITests/MockUploadTests.swift +++ b/StudyApplicationUITests/MockUploadTests.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/TemplateApplicationUITests/OnboardingTests.swift b/StudyApplicationUITests/OnboardingTests.swift similarity index 96% rename from TemplateApplicationUITests/OnboardingTests.swift rename to StudyApplicationUITests/OnboardingTests.swift index cc8fd5a..acb425a 100644 --- a/TemplateApplicationUITests/OnboardingTests.swift +++ b/StudyApplicationUITests/OnboardingTests.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -21,7 +21,7 @@ class OnboardingTests: XCTestCase { let app = XCUIApplication() app.launchArguments = ["--showOnboarding"] - app.deleteAndLaunch(withSpringboardAppName: "TemplateApplication") + app.deleteAndLaunch(withSpringboardAppName: "StudyApplication") } @@ -60,7 +60,7 @@ extension XCUIApplication { func conductOnboardingIfNeeded(email: String = "leland@stanford.edu") throws { let app = XCUIApplication() - if app.staticTexts["Spezi\nTemplate Application"].waitForExistence(timeout: 5) { + if app.staticTexts["Spezi\nStudy Application"].waitForExistence(timeout: 5) { try app.navigateOnboardingFlow(email: email) } } @@ -84,7 +84,7 @@ extension XCUIApplication { } private func navigateOnboardingFlowWelcome() throws { - XCTAssertTrue(staticTexts["Spezi\nTemplate Application"].waitForExistence(timeout: 5)) + XCTAssertTrue(staticTexts["Spezi\nStudy Application"].waitForExistence(timeout: 5)) XCTAssertTrue(buttons["Learn More"].waitForExistence(timeout: 2)) buttons["Learn More"].tap() diff --git a/TemplateApplicationUITests/SchedulerTests.swift b/StudyApplicationUITests/SchedulerTests.swift similarity index 85% rename from TemplateApplicationUITests/SchedulerTests.swift rename to StudyApplicationUITests/SchedulerTests.swift index b6a5f1a..560cc0c 100644 --- a/TemplateApplicationUITests/SchedulerTests.swift +++ b/StudyApplicationUITests/SchedulerTests.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Spezi Study Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -18,7 +18,7 @@ class SchedulerTests: XCTestCase { let app = XCUIApplication() app.launchArguments = ["--skipOnboarding", "--testSchedule"] - app.deleteAndLaunch(withSpringboardAppName: "TemplateApplication") + app.deleteAndLaunch(withSpringboardAppName: "StudyApplication") } diff --git a/TemplateApplication.xctestplan.license b/TemplateApplication.xctestplan.license deleted file mode 100644 index d3f1e1e..0000000 --- a/TemplateApplication.xctestplan.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/TemplateApplication/Supporting Files/TemplateApplication.entitlements.license b/TemplateApplication/Supporting Files/TemplateApplication.entitlements.license deleted file mode 100644 index d3f1e1e..0000000 --- a/TemplateApplication/Supporting Files/TemplateApplication.entitlements.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/codecov.yml b/codecov.yml index 22b4be8..3db24e1 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -29,8 +29,8 @@ coverage: target: auto threshold: 5.0 ignore: -- ^TemplateApplicationUITests.* -- ^TemplateApplicationTests.* +- ^StudyApplicationUITests.* +- ^StudyApplicationTests.* parsers: gcov: branch_detection: diff --git a/fastlane/.gitignore b/fastlane/.gitignore index 57f0052..b4b81be 100644 --- a/fastlane/.gitignore +++ b/fastlane/.gitignore @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # diff --git a/fastlane/Appfile b/fastlane/Appfile index 302619d..a502593 100644 --- a/fastlane/Appfile +++ b/fastlane/Appfile @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -9,5 +9,5 @@ # For more information about the Appfile, see: # https://docs.fastlane.tools/advanced/#appfile -app_identifier "edu.stanford.spezi.templateapplication" # The bundle identifier of your app +app_identifier "edu.stanford.spezi.studyapplication" # The bundle identifier of your app apple_id ENV["APPLE_ID"] # Your Apple email address \ No newline at end of file diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 7aeeac8..14b1759 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi Template Application project +# This source file is part of the Stanford Spezi Study Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -49,7 +49,7 @@ platform :ios do xcargs: "-skipPackagePluginValidation", export_options: { provisioningProfiles: { - "edu.stanford.spezi.templateapplication" => "Spezi Template Application" + "edu.stanford.spezi.studyapplication" => "Spezi Study Application" } } ) diff --git a/fastlane/README.md.license b/fastlane/README.md.license index d3f1e1e..07e2bca 100644 --- a/fastlane/README.md.license +++ b/fastlane/README.md.license @@ -1,5 +1,5 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/firebase.json.license b/firebase.json.license index 6d66422..3ee0688 100644 --- a/firebase.json.license +++ b/firebase.json.license @@ -1,4 +1,4 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) diff --git a/firebasestorage.rules.license b/firebasestorage.rules.license index 6d66422..3ee0688 100644 --- a/firebasestorage.rules.license +++ b/firebasestorage.rules.license @@ -1,4 +1,4 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) diff --git a/firestore.rules.license b/firestore.rules.license index 6d66422..3ee0688 100644 --- a/firestore.rules.license +++ b/firestore.rules.license @@ -1,4 +1,4 @@ -This source file is part of the Stanford Spezi Template Application project +This source file is part of the Stanford Spezi Study Application project SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)