目录
目录README.md

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 ?? [] {
 ... 
 }
关于
43.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号