A simple tool to convert Android's binary XML format to regular XML.
axml-to-xml path/to/AndroidManifest.xml
let axml = Data(contentsOf: urlToAndroidManifestXML)
let xml = try axmlToXml(axml)
The CLI tool is available via homebrew:
brew install xavierLowmiller/tap/axml-to-xml
- Add the following to your dependencies in
Package.swift
:
dependencies: [
.package(url: "https://github.com/xavierLowmiller/swift-axml-converter", from: "1.0.0")
],
- Add the
AXML
target to your target:
.target(name: "MyTarget", dependencies: ["AXML"]),