美文网首页
CI - Mac app Notarization(公证) 报错

CI - Mac app Notarization(公证) 报错

作者: CatchZeng | 来源:发表于2022-07-18 17:27 被阅读0次

    原文:https://makeoptim.com/ci/notarization-1048

    问题现象

    最近 CI 构建出现失败,并报错:"You must first sign the relevant contracts online. (1048)".

    Error: Failed to upload app to Apple's notarization servers
    
     Error:
    
    <main>  INFO: Configuring logging...
    <main>  INFO: Logging level set to eXtreme
    <main> DEBUG: SMART-CLIENT: initializing data center locking ops: [authenticateForSession, validateAssets]
    <main> DEBUG: SMART-CLIENT: initializing data centers with: [contentdelivery01.itunes.apple.com, contentdelivery02.itunes.apple.com]
    <main>  INFO: iTMSTransporter : iTunes Store Transporter [2.3.0]
    ......
    <main>  INFO: iTMSTransporter Correlation Key: 9c5a693c-xxxxxx-7cxxxxx-0001
    <main> DEBUG: SMART-CLIENT: Host HTTP header: contentdelivery01.itunes.apple.com
    <main> DBG-X: Apple's web service operation return value:
    <main> DBG-X:   parameter Errors = [You must first sign the relevant contracts online. (1048)]
    <main> DBG-X:   parameter EnableJWTForAllCalls = false
    <main> DBG-X:   parameter ShouldUseFeatures = (null)
    <main> DBG-X:   parameter RestartClient = false
    <main> DBG-X:   parameter ErrorCode = 1048
    <main> DBG-X:   parameter ErrorMessage = You must first sign the relevant contracts online. (1048)
    <main> DBG-X:   parameter ShouldUseRESTAPIs = false
    <main> DBG-X:   parameter Success = false
    <main> ERROR: You must first sign the relevant contracts online. (1048)
    <main> DBG-X: The error code is: 1048
    <main>  INFO: JSON:{"msg":{"phase":"Upload","count":2,"description":"Operation failed","index":2},"messageType":"VerifyProgress"}
    <main> DBG-X: Returning 1
    

    解决方法

    登录你的 Apple Developer 帐户并转到 App Store Connect,将看到许可协议已更新的通知。你只需同意更新的协议,就可以进行公证的申请了。

    App Store Connect

    参考链接

    相关文章

      网友评论

          本文标题:CI - Mac app Notarization(公证) 报错

          本文链接:https://www.haomeiwen.com/subject/oyjdirtx.html