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用戶已經多了這位邀請成員。


不過……- -||難道我要給每個人都這麼操作一遍麼……好坑爹啊~

最後,文章標題要怎麼取呢…… 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章