Skip to content

Commit

Permalink
fix: 5.6版本编译
Browse files Browse the repository at this point in the history
  • Loading branch information
foxdock committed Nov 16, 2024
1 parent 370d623 commit 43c7cb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: googleapis/release-please-action@v4
with:
release-type: simple
bump-minor-pre-major: true
bump-patch: true
bump-patch-for-minor-pre-major: true

## release xcframework
Expand Down
2 changes: 1 addition & 1 deletion Sources/DFService/framework/AnyCodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ extension AnyCodable: Encodable {
case let dictionaryValue as [String: Any]:
let encodableDictionary = dictionaryValue.mapValues { AnyCodable($0) }
try container.encode(encodableDictionary)
case let custom as Codable:
case let custom as Encodable:
try container.encode(custom)
default:
throw EncodingError.invalidValue(self.value, EncodingError.Context(codingPath: container.codingPath, debugDescription: "Unsupported type"))
Expand Down

0 comments on commit 43c7cb1

Please sign in to comment.