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: Sun Oct 20 2024 02:03:37 GMT-0900 (Hawaii-Aleutian Daylight Time)