diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index f247f88..df677be 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -8,11 +8,11 @@ name: Swift jobs: build: - runs-on: macos-13 + runs-on: macos-14 steps: - uses: actions/checkout@v3 - name: xcode-select - run: sudo xcode-select -s /Applications/Xcode_15.0.app + run: sudo xcode-select -s /Applications/Xcode_16.2.app - name: Build run: swift build -Xswiftc -warnings-as-errors - name: Test diff --git a/Sources/RemindersLibrary/EKReminder+Encodable.swift b/Sources/RemindersLibrary/EKReminder+Encodable.swift index 3821b0c..f9f9fdb 100644 --- a/Sources/RemindersLibrary/EKReminder+Encodable.swift +++ b/Sources/RemindersLibrary/EKReminder+Encodable.swift @@ -1,6 +1,6 @@ import EventKit -extension EKReminder: Encodable { +extension EKReminder: @retroactive Encodable { private enum EncodingKeys: String, CodingKey { case externalId case lastModified diff --git a/Sources/RemindersLibrary/NaturalLanguage.swift b/Sources/RemindersLibrary/NaturalLanguage.swift index e38ab3c..b9f9baf 100644 --- a/Sources/RemindersLibrary/NaturalLanguage.swift +++ b/Sources/RemindersLibrary/NaturalLanguage.swift @@ -44,7 +44,7 @@ private func components(from string: String) -> DateComponents? { } } -extension DateComponents: ExpressibleByArgument { +extension DateComponents: @retroactive ExpressibleByArgument { public init?(argument: String) { if let components = components(from: argument) { self = components