Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/phimage/notarizationinfo
- Owner: phimage
- License: mit
- Created: 2019-10-13T18:33:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-05T05:00:02.000Z (about 5 years ago)
- Last Synced: 2024-09-16T16:32:44.253Z (4 months ago)
- Topics: apple, notarization
- Language: Swift
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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 ?? [] {
...
}
```