Compatibility
- 0.2.1 and master5.35.25.15.04.2
- 0.2.1 and masteriOSmacOS(Intel)macOS(ARM)LinuxtvOSwatchOS
Decode info from apple notarization process
Decode notarization information from upload, info and history request using xcrun altool
with --output-format xml
as argument.
let response = try NotarizationResponse(from: data) // or string
xcrun altool --notarize-app ...
if let uuid = response.notarizationUpload?.requestUUID {
...
}
xcrun altool --notarization-info <id> ...
if let status = response.notarizationInfo?.status {
}
xcrun altool --notarization-history ...
for item in response.notarizationHistory?.items ?? [] {
...
}