diff --git a/Package.swift b/Package.swift index 4d1c6cb..c7ca073 100644 --- a/Package.swift +++ b/Package.swift @@ -21,17 +21,13 @@ let package = Package( .library(name: "SpeziMedication", targets: ["SpeziMedication"]) ], dependencies: [ - .package(url: "https://github.com/StanfordSpezi/Spezi", .upToNextMinor(from: "0.8.0")), - .package(url: "https://github.com/StanfordSpezi/SpeziStorage", .upToNextMinor(from: "0.5.0")), - .package(url: "https://github.com/StanfordSpezi/SpeziViews", .upToNextMinor(from: "0.6.2")) + .package(url: "https://github.com/StanfordSpezi/SpeziViews", from: "1.2.0") ], targets: [ .target( name: "SpeziMedication", dependencies: [ - .product(name: "Spezi", package: "Spezi"), - .product(name: "SpeziViews", package: "SpeziViews"), - .product(name: "SpeziLocalStorage", package: "SpeziStorage") + .product(name: "SpeziViews", package: "SpeziViews") ], resources: [ .process("Resources") diff --git a/Sources/SpeziMedication/MedicationSettings.swift b/Sources/SpeziMedication/MedicationSettings.swift index 66b7605..9b0d23d 100644 --- a/Sources/SpeziMedication/MedicationSettings.swift +++ b/Sources/SpeziMedication/MedicationSettings.swift @@ -10,7 +10,7 @@ import SpeziViews import SwiftUI -/// Present medication settings includings mechanisms to add, edit, and delete medications. +/// Present medication settings including mechanisms to add, edit, and delete medications. public struct MedicationSettings: View { private let isPresented: Binding? private let allowEmtpySave: Bool diff --git a/Tests/UITests/UITests.xcodeproj/project.pbxproj b/Tests/UITests/UITests.xcodeproj/project.pbxproj index f5973eb..66e2be8 100644 --- a/Tests/UITests/UITests.xcodeproj/project.pbxproj +++ b/Tests/UITests/UITests.xcodeproj/project.pbxproj @@ -17,6 +17,7 @@ 2FADBE9C2AF8761B0003EC4E /* XCUIApplication+ButtonTap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FADBE9B2AF8761B0003EC4E /* XCUIApplication+ButtonTap.swift */; }; 2FE5BC612AF86C5E0089B6C0 /* ExampleMedicationSettingsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5BC602AF86C5E0089B6C0 /* ExampleMedicationSettingsViewModel.swift */; }; 2FE5BC632AF86CA20089B6C0 /* ExampleMedicationInstance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5BC622AF86CA20089B6C0 /* ExampleMedicationInstance.swift */; }; + 97B786BA2B717396004066DB /* Spezi in Frameworks */ = {isa = PBXBuildFile; productRef = 97B786B92B717396004066DB /* Spezi */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -63,6 +64,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 97B786BA2B717396004066DB /* Spezi in Frameworks */, 2F68C3C8292EA52000B3E12C /* SpeziMedication in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -148,6 +150,7 @@ name = TestApp; packageProductDependencies = ( 2F68C3C7292EA52000B3E12C /* SpeziMedication */, + 97B786B92B717396004066DB /* Spezi */, ); productName = Example; productReference = 2F6D139228F5F384007C25D6 /* TestApp.app */; @@ -199,6 +202,9 @@ Base, ); mainGroup = 2F6D138928F5F384007C25D6; + packageReferences = ( + 97B786B82B717396004066DB /* XCRemoteSwiftPackageReference "Spezi" */, + ); productRefGroup = 2F6D139328F5F384007C25D6 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -683,11 +689,27 @@ }; /* End XCConfigurationList section */ +/* Begin XCRemoteSwiftPackageReference section */ + 97B786B82B717396004066DB /* XCRemoteSwiftPackageReference "Spezi" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/StanfordSpezi/Spezi"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 1.1.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + /* Begin XCSwiftPackageProductDependency section */ 2F68C3C7292EA52000B3E12C /* SpeziMedication */ = { isa = XCSwiftPackageProductDependency; productName = SpeziMedication; }; + 97B786B92B717396004066DB /* Spezi */ = { + isa = XCSwiftPackageProductDependency; + package = 97B786B82B717396004066DB /* XCRemoteSwiftPackageReference "Spezi" */; + productName = Spezi; + }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 2F6D138A28F5F384007C25D6 /* Project object */;