Skip to content

Instantly share code, notes, and snippets.

@caughtinflux
Created November 12, 2015 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caughtinflux/9f34447a0712b7698f8b to your computer and use it in GitHub Desktop.
Save caughtinflux/9f34447a0712b7698f8b to your computer and use it in GitHub Desktop.
➜ Vivify git:(kb_recents) pilot upload
[15:06:31]: Login to iTunes Connect (aditya@giffage.com)
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.14.0/lib/spaceship/tunes/tunes_client.rb:98:in `send_login_request': (Spaceship::TunesClient::ITunesConnectError)
<!DOCTYPE html>
<html data-rtl="">
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="//www.apple.com/wss/fonts?family=Myriad+Set+Pro&weights=200,400,500,600,700&v=1"
type="text/css"/>
<link rel="stylesheet" type="text/css" media="screen" href="https://appleid.cdn-apple.com/appleauth/static/cssj/N588571505/client.css" />
</head>
<body>
<div class="si-body si-container container-fluid" id="content">
</div>
<script type="text/stache" id="jstache_1100766540">
<div class="apple-id-logo {{showClass}}" id="apple-id-logo">
<i class="icon icon_apple"></i>
</div>
</script>
<script type="text/stache" id="jstache_478152846">
<div class="spinner-container redirect-spinner {{#spinnerFor.redirect}}v-show{{/spinnerFor.redirect}}{{^spinnerFor.redirect}}v-hide{{/spinnerFor.redirect}}"
id="redirect-spinner-container"></div>
<a href="#" class="si-link" id="redirectPrefetch">{{text}}</a>
<a href="{{redirectUrl}}" target="_blank" id="redirect"></a>
</script>
<script type="text/stache" id="jstache_538704210">
{{#logoImage}}
<div class="logo">
{{#logoUrl}}
<a href="{{logoUrl}}" target="blank" tabindex="0" class="ax-outline">
<img class="cnsmr-app-image" src="{{logoImage}}" style="width:{{logoWidth}}" alt="Application logo"/>
</a>
{{/logoUrl}}
{{^logoUrl}}
<img class="cnsmr-app-image" src="{{logoImage}}" style="width:{{logoWidth}}" alt="Application logo"/>
{{/logoUrl}}
</div>
{{/logoImage}}
</script>
<script type="text/stache" id="jstache_1214933640">
{{^isRepairRequired}}
<appleid-logo mode="{mode}"></appleid-logo>
{{/isRepairRequired}}
<div class="widget-container fade-in {{#showAcccountLockedDialog}}show-dialog{{/showAcccountLockedDialog}} {{^isRepairRequired}}restrict-max-wh{{/isRepairRequired}} {{#showRepairWidget}}fade-out{{/showRepairWidget}} {{^showRepairWidget}}fade-in{{/showRepairWidget}}"
data-mode="{{mode}}">
{{#showExpiredPwdRepair}}
{{^isRepairUIModeInline}}
<div id="pop-change-pwd" class="change-password-pop"></div>
{{/isRepairUIModeInline}}
{{#isRepairUIModeInline}}
<div id="inline-change-pwd" class="change-password-inline"></div>
{{/isRepairUIModeInline}}
{{/showExpiredPwdRepair}}
<div id="step" class="si-step {{#fadeIn}}fade-in{{/fadeIn}}">
{{^showExpiredPwdRepair}}
<logo></logo>
{{/showExpiredPwdRepair}}
<div id="stepEl"
class="{{#showExpiredPwdRepair}}hide{{/showExpiredPwdRepair}} {{#or showAcccountLockedDialog showNoDevicesNoRKDialog}}hide{{/or}} {{#dialog.resetCRToken.message}}hide{{/dialog.resetCRToken.message}}"></div>
</div>
<div id="stocking" style="display:none !important;"></div>
{{#showAcccountLockedDialog}}
<app-dialog heading="{dialog.acccountLocked.title}"
show-apple-logo="{dialog.acccountLocked.showAppleLogo}"
theme="{dialog.acccountLocked.theme}"
title-align="{dialog.acccountLocked.titleAlign}"
body-align="{dialog.acccountLocked.bodyAlign}"
btn-opts="{dialog.acccountLocked.btnOpts}">
<div class="acc-locked" id="acc-locked">
<div class="dialog-body">
<div class="dialog-info">
<div class="thick">
This Apple&nbsp;ID has been locked for security reasons.
</div>
<div class="thin">
You must unlock your account before signing in.
</div>
<a class="si-link" id="resetAcc" href="{{iForgotUrl}}" target="_blank">
Unlock Account
</a>
</div>
</div>
</div>
</app-dialog>
{{/showAcccountLockedDialog}}
{{#showNoDevicesNoRKDialog}}
<app-dialog heading="{dialog.noDevicesNoRKDialog.title}"
show-apple-logo="{dialog.noDevicesNoRKDialog.showAppleLogo}"
theme="{dialog.noDevicesNoRKDialog.theme}"
title-align="{dialog.noDevicesNoRKDialog.titleAlign}"
body-align="{dialog.noDevicesNoRKDialog.bodyAlign}"
btn-opts="{dialog.noDevicesNoRKDialog.btnOpts}">
<div class="acc-locked" id="acc-locked">
<div class="dialog-body">
<div class="dialog-info">
<div class="thick">
Cannot Verify Identity
</div>
<div class="thin">
Your sign in cannot be completed because you have no trusted devices listed for your account. Visit the Apple&nbsp;ID site and use your Recovery Key to add trusted devices.
</div>
<a class="si-link" id="addTrustedDevice" href="{{appleIdUrl}}" target="_blank">
Add a Trusted Device
</a>
</div>
</div>
</div>
</app-dialog>
{{/showNoDevicesNoRKDialog}}
{{#dialog.resetCRToken.message}}
<app-dialog heading="{dialog.acccountLocked.title}"
show-apple-logo="{dialog.acccountLocked.showAppleLogo}"
theme="{dialog.acccountLocked.theme}"
title-align="{dialog.acccountLocked.titleAlign}"
body-align="{dialog.acccountLocked.bodyAlign}"
btn-opts="{dialog.acccountLocked.btnOpts}">
<div class="reset-cr-token" id="resetCRToken">
<div class="dialog-body">
<div class="dialog-info">
<div class="thin">
{{dialog.resetCRToken.message}}
</div>
</div>
</div>
</div>
</app-dialog>
{{/dialog.resetCRToken.message}}
{{#isRepairRequired}}
<div class="repair-widget {{#showRepairWidget}}fade-in{{/showRepairWidget}} {{^showRepairWidget}}fade-out{{/showRepairWidget}}"
id="repairWidget"></div>
{{/isRepairRequired}}
</div>
</script>
<script type="text/stache" id="jstache_1773805210">
<div class="dialog fade-in" ui-theme="{{theme}}" role="alert" aria-describedby="alertInfo" tabindex="-1">
<p id="alertInfo" class="sr-only">
{{^heading}}
{{/heading}}
{{#heading}}
{{heading}}
{{/heading}}
</p>
<div class="app-dialog">
<div class="head {{^heading}}no-title{{/heading}}">
{{#showAppleLogo}}
<appleid-logo></appleid-logo>
{{/showAppleLogo}}
{{#heading}}
<div class="title" title-align="{{titleAlign}}">
<h2>{{heading}}</h2>
</div>
{{/heading}}
</div>
<div class="body" body-align="{{bodyAlign}}">
<content/>
</div>
<div class="footer">
{{#buttons}}
<div class="button-bar" btn-direction="{{buttons.direction}}">
{{#each btns}}
<button class="button click-handle ax-outline" tabindex="0" id="{{id}}">{{text}}</button>
{{/each}}
</div>
{{/buttons}}
</div>
{{#str_eq theme "translucent"}}
<i class="icon icon_remove74_gray click-handle ax-outline" id="close" tabindex="0" role="button"
aria-label="Close"></i>
{{/str_eq}}
</div>
</div>
</script>
<script type="text/stache" id="jstache_1197030642">
<div class="signin fade-in" id="signin">
{{#appName}}
<h1 class="si-container-title" tabindex="-1">
Sign In to {{appName}}
</h1>
{{/appName}}
{{^appName}}
<h1 class="si-container-title" tabindex="-1">
{{{signInLabel}}}
</h1>
{{/appName}}
<div class="container si-field-container {{#invalidShake}}shake{{/invalidShake}}">
<div class="row no-gutter si-field apple-id {{#isAppleIdFocus}}ax-border{{/isAppleIdFocus}}">
<div class="col-xs-12">
<label for="appleId" class="sr-only">
Apple ID
</label>
<input class="si-text-field"
id="appleId"
type="email"
placeholder="{{appleIdPlaceholder}}"
can-field="accountName"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false">
</div>
</div>
<div class="row no-gutter si-field pwd {{#isPwdFocus}}ax-border{{/isPwdFocus}}">
<div class="col-xs-12">
<label for="pwd" class="sr-only">
Password
</label>
<input class="si-password si-text-field {{#spinnerFor.auth}}disable{{/spinnerFor.auth}} {{^isPwdFieldEmpty}}dots{{/isPwdFieldEmpty}}"
id="pwd"
type="password"
placeholder="{{passwordPlaceholder}}"
can-field="password"
{{#errorMessage}}aria-invalid="true" aria-describedby="invalidUserNamePwdErrMsg"{{/errorMessage}}
autocomplete="off">
</div>
</div>
{{#errorMessage}}
<div class="pop-container error signin-error" tabindex="-1" role="alert">
<div class="error pop-bottom">
<p class="fat" id="invalidUserNamePwdErrMsg">
{{{errorMessage}}}
</p>
{{#is401}}
<a href="{{iForgotUrl}}" target="blank" class="si-link ax-outline thin">
Forgot password?
</a>
{{/is401}}
</div>
</div>
{{/errorMessage}}
{{#showRememberMe}}
<div class="si-remember-password">
<input type="checkbox" id="remember-me" tabindex="0" class="ax-outline">
<label for="remember-me">
{{rememberMeText}}
</label>
</div>
{{/showRememberMe}}
{{#spinnerFor.auth}}
<div class="spinner-container auth">
</div>
{{/spinnerFor.auth}}
{{^spinnerFor.auth}}
<button id="sign-in"
class="si-button btn {{^allow.auth}}disabled{{/allow.auth}}"
aria-label="Sign In"
aria-disabled="{{^allow.auth}}true{{/allow.auth}}{{#allow.auth}}false{{/allow.auth}}"
tabindex="0">
<i class="icon icon_sign_in"></i>
</button>
{{/spinnerFor.auth}}
</div>
<div class="si-container-footer">
{{#or showCreateLink showiForgotLink}}
<div class="separator {{^showRememberMe}}no-remember-me{{/showRememberMe}}"></div>
<div class="links">
{{#showiForgotLink}}
<div class="si-forgot-password">
<a href="{{iForgotUrl}}" class="si-link ax-outline" target="blank">
Forgot Apple&nbsp;ID or password?
</a>
</div>
{{/showiForgotLink}}
{{#showCreateLink}}
<div>
<span class="fat">Don’t have an Apple&nbsp;ID?</span>
<a href="{{createAppleIDUrl}}" class="si-forgot-password si-link ax-outline" target="blank">
Create yours now.
</a>
</div>
{{/showCreateLink}}
</div>
{{/or}}
{{#showFooter}}
<div class="si-footer">
<span class="copyright-text">Copyright &#169; {{currentYear}} Apple Inc. All rights reserved.</span>
<a class="terms-of-use ax-outline" target="blank" href="http://www.apple.com/legal/terms/site.html">
Terms of Use
</a>
<a class="privacy ax-outline" target="blank" href="http://www.apple.com/legal/privacy/">
Privacy Policy
</a>
</div>
{{/showFooter}}
</div>
</div>
</script>
<script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsj/N1428189282/package.js" ></script>
<script type="text/javascript">
System.register('bootData', [], function (exports) {
var urlContext = '/appleauth/';
if (urlContext.substr(-1) === '/') {
urlContext = urlContext.substr(0, urlContext.length - 1);
}
return {
setters: [],
execute: function () {
var bootData = {};
bootData.urlContext = urlContext;
bootData.accountName = '';
bootData.resetCRToken = '';
bootData.isRtl = '';
bootData.destinationDomain = "null";
if (bootData.destinationDomain && bootData.destinationDomain.substr(-1) === '/') {
bootData.destinationDomain = bootData.destinationDomain.substr(0, bootData.destinationDomain.length - 1);
}
bootData.urlBag = null;
bootData.meta = {};
bootData.meta.futureReservedAuthUIModes = ['popped-window', 'dialog', 'tabbed'];
bootData.meta.supportedAuthUIModes = ['window', 'embed', 'inline'];
exports('data', bootData);
}
};
});
System.import('idms/modules/managers/localizationManager')
.then(function (module) {
var localizationManager = module.default;
localizationManager.addString('signInFallbackError', 'Your Apple&nbsp;ID or password was entered incorrectly.');
localizationManager.addString('fallback', 'Failed to verify your identity. Try again.');
localizationManager.addString('exampleEmail', 'name@example.com');
localizationManager.addString('appleId', 'Apple&nbsp;ID');
localizationManager.addString('password', 'Password');
localizationManager.addString('rememberMe', 'Remember me ');
localizationManager.addString('keepMeSignedIn', 'Keep me signed in');
localizationManager.addString('defaultSignInLabel', 'Sign In with your AppleID');
localizationManager.addString('cancelText', ' Cancel');
localizationManager.addString('resetAccText', ' Unlock Account');
localizationManager.addString('gotoAppleIdText', ' Go to Apple&nbsp;ID');
localizationManager.addString('addTrustedDeviceText', ' Add a Trusted Device');
localizationManager.addString('iframeTitle', ' Apple ID Sign-In');
return System.import('main');
})
.catch(function (error) {
console.log("ERROR!!", error)
});
</script>
</body>
</html>
aa=926FE29125D8819BCABF0E4F21FBEA928DE2ABDC97D81F1680407B74C5377A246CFD1C0B82F38F960AA1F68023AA59E0B0BC5F7737FA9706398DD405B4455123BCCE1867B17525641CDAF636D9B368EBBB146AD4B663346F65C0C05E18FC264DE1EC77194609B40096C6E9850F461D266F69576130060608928562984950275F0B2666041C347C7A673F5388C6B8DE679FA5ED4E206E13BEA90EB181B5CF07582DE3C70E192289FB38DEF8866E7D72D428A3F9AB36EBFA82D0F9CC51CF1C3F5F75DCB682C9D6CEE51C25E404D34B0E095E5BC707DACCB872DCE8975A3A678E861CF0A64B20EC0927DE0764BF0A0AC350241912E36E9BA09043ADE84F4F3F52BE; Domain=idmsa.apple.com; Path=/; Secure; HttpOnly, site=USA; Domain=.apple.com; Path=/; Secure; HttpOnly, acn01="xSG2pWycj3V87cBzgfMrLOwxDewN7xBm8XsAjxpYtzcXOw=="; Version=1; Domain=.apple.com; Max-Age=31536000; Expires=Fri, 11-Nov-2016 09:36:33 GMT; Path=/; Secure; HttpOnly, X-SESS=14b5a3d90a440baaae6949292aa845d94fc765c43843fa1f9fc985dd819415ef6646deef;Version=1;Max-Age=1800;path=/;secure;httponly
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.14.0/lib/spaceship/client.rb:160:in `login'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.14.0/lib/spaceship/client.rb:54:in `login'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.14.0/lib/spaceship/tunes/spaceship.rb:22:in `login'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.0.0/lib/pilot/manager.rb:15:in `login'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.0.0/lib/pilot/manager.rb:8:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.0.0/lib/pilot/build_manager.rb:4:in `upload'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.0.0/lib/pilot/commands_generator.rb:48: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/pilot-1.0.0/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.0.0/lib/pilot/commands_generator.rb:17:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-1.0.0/bin/pilot:6:in `<top (required)>'
from /usr/local/bin/pilot:23:in `load'
from /usr/local/bin/pilot:23:in `<main>'
➜ Vivify git:(kb_recents) pilot -v
pilot 1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment