无法跑“叹”快车道

时间:2015-11-17 01:01:13

标签: ios hybrid-mobile-app 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                          |
+-------------------------------+--------------------------------+

4 个答案:

答案 0 :(得分:1)

我能够让它工作,我所要做的就是在我的车道上设置sigh参数并关闭skip_certificate_verification标志。不确定为什么会导致或修复此错误,但现在一切正常。

答案 1 :(得分:1)

我也有这个问题,并通过将该帐户设置为Apple会员中心的管理员来解决此问题。成为会员&#34;似乎由于某种原因导致下载失败。

答案 2 :(得分:0)

从您收到的意外回复的主体看来,问题似乎与Developer Portal有关,而不是与工具本身有关。

您报告同时尝试连接到Developer Portal的sighcert都存在问题,这是对此假设的补充。

11月期间,iTunesConnect和Developer Portal出现了一些问题,并且可能在某个时候出现了问题。

这听起来没什么用,但我建议确保fastlane及其依赖项是最新的,然后再试一次。

答案 3 :(得分:0)

此问题会影响旧版本的证书和叹息。

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

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

至于叹息,appears to be still broken

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

将来,希望你能够升级叹息,它应该有用。