Generation de l'architecture compat Swift 6 avec des final class Sendable
This commit is contained in:
@@ -137,9 +137,7 @@ class StringsFileGenerator {
|
||||
|
||||
let json = try encoder.encode(rootObject)
|
||||
|
||||
if let jsonString = String(data: json, encoding: .utf8) {
|
||||
return jsonString
|
||||
}
|
||||
return String(decoding: json, as: UTF8.self)
|
||||
|
||||
} catch {
|
||||
debugPrint("Failed to encode: \(error)")
|
||||
|
Reference in New Issue
Block a user