Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phimage/notarizationinfo

Decode info from apple notarization process
https://github.com/phimage/notarizationinfo

apple notarization

Last synced: about 1 month ago
JSON representation

Decode info from apple notarization process

Awesome Lists containing this project

README

        

# NotarizationInfo

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

## Decode

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

## Get request UUID after uploading

`xcrun altool --notarize-app ...`

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

## Get status

`xcrun altool --notarization-info ...`

```swift
if let status = response.notarizationInfo?.status {

}
```

## Get history

`xcrun altool --notarization-history ...`

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