无法 运行 `sigh` fastlane

Unable to run `sigh` fastlane

在 运行 sigh 这是我得到的错误,有解决办法吗?

`download_certificate': Couldn't download provisioning profile, got this instead: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> (Spaceship::Client::UnexpectedResponse)


<html lang="en-us">
<head>
    <title>Try your request again.</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" l gen true for "http://www.apple.com" r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.apple.com" r (n 0 s 0 v 0 l 0))'>
    <meta name="Author" content="Apple Inc.">
    <meta name="viewport" content="width=1024">
    <link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/global/styles/ext/2.2/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/assets/apps/styles/asst/1.0/xtheme-developer.css" />
    <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/base.css" type="text/css" charset="utf-8">
    <link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/styles/adc.css" type="text/css" charset="utf-8">
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/lib/prototype.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/lib/scriptaculous.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/browserdetect.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/apple_core.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/search_decorator.js" type="text/javascript" charset="utf-8"></script>
    <script src="https://devimages.apple.com.edgekey.net/global/scripts/adc_core.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8">
        document.write('<link rel="stylesheet" type="text/css" href="https://devimages.apple.com.edgekey.net/assets/styles/script.css" media="screen">')
    </script>
</head>
<body id="error">
    <div id="globalheader">
    <h1><a href="/">Apple Developer</a></h1>
    <ul id="gh-nav">
        <li id="gh-nav-technologies"><a href="/technologies/">Technologies</a></li>
        <li id="gh-nav-resources"><a href="/resources/">Resources</a></li>
        <li id="gh-nav-devcenters"><a href="/programs/">Programs</a></li>
        <li id="gh-nav-support"><a href="/support/">Support</a></li>
        <li id="gh-nav-membercenter"><a href="/membercenter/">Member Center</a></li>
    </ul>


</div>



    <div id="content" class="box">
        <div class="cap boxtop"></div>  
            <div class="msg warn">
                <h4>We are unable to process your request.</h4>
                <p>An unknown error occurred. Please <a href="index.action">try again</a>.
            </div><!--/msg-->
        <div class="cap boxbottom"></div>
    </div>

<div id="globalfooter">
    <p class="gf-buy">Shop the <a href="http://www.apple.com/store/">Apple Online Store</a> (1-800-MY-APPLE), visit an <a href="http://www.apple.com/retail/">Apple Retail Store</a>, or find a <a href="http://www.apple.com/buy/locator/">reseller</a>.</p>   
    <ul class="gf-links piped">
        <li><a class="first" href="/sitemap/">Site Map</a></li>
        <li><a href="/rss/">RSS Feeds</a></li>

    </ul>   
    <div class="gf-sosumi">
        <p>Copyright &copy; <script>document.write(new Date().getFullYear())</script> Apple Inc. All rights reserved.</p>
        <ul class="piped">
            <li><a href="http://www.apple.com/legal/terms/site.html" class="first">Terms of Use</a></li>
            <li><a href="http://www.apple.com/legal/privacy/">Privacy Policy</a></li>
        </ul>

    </div>
</div><!--/globalfooter-->
</body>
</html>
    from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.14.1/lib/spaceship/portal/certificate.rb:256:in `download_raw'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/runner.rb:82:in `block (2 levels) in fetch_profiles'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/runner.rb:80:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/runner.rb:80:in `block in fetch_profiles'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/runner.rb:77:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/runner.rb:77:in `find_all'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/runner.rb:77:in `fetch_profiles'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/runner.rb:20:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/lib/sigh/manager.rb:7:in `start'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/bin/sigh:34:in `block (2 levels) in run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/bin/sigh:89:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/sigh-1.1.3/bin/sigh:107:in `<top (required)>'
    from /usr/bin/sigh:23:in `load'
    from /usr/bin/sigh:23:in `<main>'

总结:

+-------------------------------+--------------------------------+
|                     Summary for sigh 1.1.3                     |
+-------------------------------+--------------------------------+
| adhoc                         | false                          |
| skip_install                  | false                          |
| development                   | false                          |
| force                         | false                          |
| app_identifier                | com.test.mobile.v1             |
| username                      | abc@gmail.com                  |
| output_path                   | .                              |
| skip_fetch_profiles           | false                          |
| skip_certificate_verification | false                          |
+-------------------------------+--------------------------------+

从您收到的意外响应正文来看,问题似乎与开发人员门户有关,而不是工具本身。

您报告 sighcert 都存在问题,这两个问题都试图连接到开发人员门户,这是对这一假设的加分项。

11 月期间,iTunesConnect 和开发者门户出现了一些问题,并且可能在某个时间点出现故障。

这听起来毫无帮助,但我建议确保 fastlane 及其依赖项是最新的,然后重试。

我能够让它工作,我所要做的就是在我的通道中设置 sigh 参数并关闭 skip_certificate_verification 标志。不太确定为什么这会导致或修复此错误,但现在一切都按预期工作。

我也遇到了这个问题,通过在苹果会员中心将帐户设为管理员解决了这个问题。只是 "Member" 似乎由于某种原因下载失败。

这个问题影响旧版本的 cert 和 sigh。

您使用的 sigh/cert/spaceship 版本很可能是 trying to download certificates it didn't have access to。当您的用户对某些项目只有成员权限时,尤其会发生这种情况。

该问题已在 2016 年初发布的证书 1.2.8 中得到纠正。

至于叹息,appears to be still broken

所以现在,您可以通过跳过证书验证或更改您在开发者中心的用户角色来解决此问题。

将来,希望您能够升级 sigh 并且它应该可以工作。