Closed Matze2010 closed 11 months ago
I found the source of the problem. For some reason Swift Package Manager downloads the 0.17.0 release and not the current 0.17.1 release. Adding the dependency .package(url: "https://github.com/CoreOffice/XMLCoder.git", revision: "b1e944c")
to Package.swift resolves the issue for me.
So it remains unclear, why SPM does not use the most current release version.
I try to decode the following XML:
into the following Struct (
shouldProcessNamespaces = true
):However, it fails with the following error:
I have no idea what I'm missing or getting wrong. Any help would be appreciated.