ios沙盒測試無法連線到Appstore
阿新 • • 發佈:2018-12-17
ios沙盒測試無法連線到Appstore
沙盒測試的時候一直報以下錯誤:
2018-10-15 21:56:57.823099+0800 iOS[5989:1703401] 讀取本地蘋果訂單 -- 2018-10-15 21:56:58.992553+0800 iOS[5989:1703401] 成功寫入UserName 2018-10-15 21:56:58.993193+0800 iOS[5989:1703401] 接收到AppStore購買資料,正在處理... 2018-10-15 21:57:03.859161+0800 iOS[5989:1703401] 接收到AppStore購買資料,正在處理... 2018-10-15 21:57:03.861137+0800 iOS[5989:1703401] 交易失敗 SKPaymentTransactionStateFailed error.code:0 LocalizedDescription:無法連線到 iTunes Store 2018-10-15 21:57:03.862766+0800 iOS[5989:1703401] Platform Callback result is:201(支付失敗)
最終確定為這個問題,實測已解決
沙盒測試帳號的問題
1.如果你的應用限定在某些國家發售,那麼沙盒賬號注意選擇正確的國別。
2.沙盒賬號不要用已有的appstore賬號
3.沙盒賬號可以是不存在的郵箱,只要格式正確即可,例如 [email protected]
其他錯誤可以參考下這個
https://blog.csdn.net/imanapple/article/details/47174993