NotarizationInfo

master

Decode info from apple notarization process
phimage/NotarizationInfo

NotarizationInfo

Decode notarization information from upload, info and history request using xcrun altool with --output-format xml as argument.

Decode

 let response = try NotarizationResponse(from: data) // or string

Get request UUID after uploading

xcrun altool --notarize-app ...

 if let uuid = response.notarizationUpload?.requestUUID {
 ... 
 }

Get status

xcrun altool --notarization-info <id> ...

 if let status = response.notarizationInfo?.status {
 
 }

Get history

xcrun altool --notarization-history ...

 for item in response.notarizationHistory?.items ?? [] {
 ... 
 }

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Nov 09 2022 01:18:07 GMT-0500 (GMT-05:00)