itunes connect TestFlight 无法邀请用户 l10n.interpolate('ITC.HeaderFooter.PrivacyPolicyLinkText')

这个问题Apple已经修复了  by 2015-10-26

今天尝试使用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 Chrome
2) Open Chrome Developer Tools (Cmd-Alt-I on OS X, Ctrl-Shift-I on Windows)
3) Go to the Sources tab
4) 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 clipboard
7) 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用户已经多了这位邀请成员。


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

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

评论 13
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值