itunes connect TestFlight 无法邀请用户 l10n.interpolate(ITC.

今天尝试使用TestFlight,将内测版本分发给邀请用户遇到一个问题。

在iTunes Connect 添加用户时,会发一封邀请邮件,

结果点击进去后,页面一片空白(手机也这样~),嗯,其实在左下角可以看到apple.com的链接,在最底部出现以下代码(全选可见)

{{ l10n.interpolate('ITC.HeaderFooter.Copyright.text') }} © {{ getYear }} {{ l10n.interpolate('ITC.HeaderFooter.Copyright.AppleRightsReserved') }}{{ l10n.interpolate('ITC.HeaderFooter.PrivacyPolicyLinkText') }}- -开始不得其解,后来只能翻Google了~关键字都不知道怎么找~

终于在苹果开发者论坛找到一个半成品解决问题~- -

The problem seems to be that a script in the page is referring to a non-public hostname idmsauth-stable.corp.apple.com. I was able to workaround this issue by manually modifying the script in Chrome Developer Tools and re-executing the code in the Developer Console. 1) Open the activation URL in Chrome2) Open Chrome Developer Tools (Cmd-Alt-I on OS X, Ctrl-Shift-I on Windows)3) Go to the Sources tab4) Find main.js (itunesconnect.apple.com/itc/static-resources/main.js)5) Modify line 20 to replace "idmsauth-stable.corp.apple.com" with "idmsa.apple.com"6) Select the contents of the main.js file and copy to the clipboard7) Paste into the console (you may need to tap the ">_" button to make it visible)8) Press <Enter> You should now see the expected iTunes Connect spinner appear and eventually you'll see a Terms and Conditions window.

原因是页面脚本中idmsauth-stable.corp.apple.com是非公开的主机名???需要使用浏览器开发者工具修改itc/static-resources/main.js里的url地址即可。

把上面的操作步骤翻译一下:

1、(当前页,空白那页)Chrome打开开发者工具

2-5、

将20行的idmsayth-stable.corp.apple.com修改为idmsa.apple.com

6、然后全选main.js脚本,复制

7-8、在控制台粘贴代码,,回车

回车后,只要控制台不报错,这时就发现页面神奇的刷新啦,然后就进入到了熟悉的itunes connection页面,开始是让你勾选协议,然后就成功了。

这时候,你去管理员页面,发现iTunes Connect用户已经多了这位邀请成员。

不过……- -||难道我要给每个人都这么操作一遍么……好坑爹啊~

最后,文章标题要怎么取呢……

版权声明:本文为博主原创文章,未经博主允许不得转载。

人生就是一次充满未知的旅行,在乎的是沿途的风景,

itunes connect TestFlight 无法邀请用户 l10n.interpolate(ITC.

相关文章:

你感兴趣的文章:

标签云: