欧美成人影院,国产精品一线,亚洲国产不卡,亚洲第一网站,欧美福利视频,99精品视频在线,日韩欧美人妻,亚洲日韩高清无码

查看詳情

xcrun altool提交APP STORE報錯網(wǎng)絡(luò)異常,錯誤代碼-26000,-1011的分析及解決

提交APP到APP STORE上審核,出錯了,使用 xcrun altool --validate-app -f /My/1.0.ipa -t ios --apiKey HMXL9464NW --apiIssuer c72e7e49-7e99-49ub-8db3-16d1d5e09591 --verbose 命令進(jìn)行校驗(yàn)時報錯,信息一大堆,如下:


Last login: Wed May 13 23:13:43 on ttys000

localhost:~ admin$ xcrun altool --validate-app -f /My/1.0.ipa -t ios --apiKey HMXL9464NW --apiIssuer c72e7e49-7e99-49ub-8db3-16d1d5e09591 --verbose

2020-05-13 23:27:43.814 altool[1735:3947350] Verbose logging enabled.

Generated JWT: eyJhbGciOiJFUzI1NiIsImtpZCI6IlhMWEw5NDY0TlciLCJ0eXAiOiJKV1QifQ.eyJleHAiOjE1ODkzODQ4NjQsImlzcyI6ImM3MmU3ZTQ5LTdlOTktNGYwYi04ZGIzLTE2ZDFkNWUwOTU5MSIsImF1ZCI6ImFwcHN0b3JlY29ubmVjdC12MSIsImlhdCI6MTU4OTM4MzY2NH0.dLpxTSQDVqIIIOze4AsGtZUF6xzZml-r2uURFhmax_upMFJgd03RawfDqTuapGn8poIVykeY1Ps7wgCq7b29nw

2020-05-13 23:27:43.818 altool[1735:3947350] *** SESSION AUTH: Webservice call to create a transporter session.

2020-05-13 23:27:43.821 altool[1735:3947368] {

    Authorization = "Bearer eyJhbGciOiJFUzI1NiIsImtpZCI6IlhMWEw5NDY0TlciLCJ0eXAiOiJKV1QifQ.eyJleHAiOjE1ODkzODQ4NjQsImlzcyI6ImM3MmU3ZTQ5LTdlOTktNGYwYi04ZGIzLTE2ZDFkNWUwOTU5MSIsImF1ZCI6ImFwcHN0b3JlY29ubmVjdC12MSIsImlhdCI6MTU4OTM4MzY2NH0.dLpxTSQDVqIIIOze4AsGtZUF6xzZml-r2uURFhmax_upMFJgd03RawfDqTuapGn8poIVykeY1Ps7wgCq7b29nw";

}

2020-05-13 23:27:43.847 altool[1735:3947368] jsonURL = https://contentdelivery.itunes.apple.com/WebObjects/MZLabelService.woa/json/MZContentDeliveryService

2020-05-13 23:27:43.848 altool[1735:3947368] jsonRequest as dictionary = {

    id = "20200513232743-027";

    jsonrpc = "2.0";

    method = authenticateForSession;

    params =     {

        Application = altool;

        ApplicationBundleId = "com.apple.itunes.altool";

        FrameworkVersions =         {

            "com.apple.itunes.connect.ITunesConnectFoundation" = "4.00 (1181)";

            "com.apple.itunes.connect.ITunesPackage" = "4.00 (1181)";

            "com.apple.itunes.connect.MZXMLMarshalling" = "4.00 (1181)";

        };

        HttpHeaders =         {

            Authorization = "Bearer eyJhbGciOiJFUzI1NiIsImtpZCI6IlhMWEw5NDY0TlciLCJ0eXAiOiJKV1QifQ.eyJleHAiOj...";

        };

        OSIdentifier = "Mac OS X 10.14.5 (x86_64)";

        Version = "4.00 (1181)";

    };

}

2020-05-13 23:27:43.848 altool[1735:3947368] Setting request length to: 761

2020-05-13 23:27:45.982 altool[1735:3947368] MZWebServiceAuthenticateForSession connection:didReceiveResponse:: -1

2020-05-13 23:27:45.982 altool[1735:3947368] MZWebServiceAuthenticateForSession connection:didReceiveData:: 60

2020-05-13 23:27:45.982 altool[1735:3947368] *** Error: Server returned an invalid MIME type: text/plain, body: Unauthenticated


Request ID: NOR33SYIJ5ZRFUKIAE6EAPEQBM.0.0

2020-05-13 23:27:45.998 altool[1735:3947368] Web service call (authenticateForSession) result: {

    ErrorMessage = "The server returned an invalid response. This may indicate that a network proxy ...";

    Errors =     (

        "The server returned an invalid response. This may indicate that a network proxy ..."

    );

}

2020-05-13 23:27:45.998 altool[1735:3947368] {

    ErrorMessage = "The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.";

    Errors =     (

        "The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later."

    );

}

2020-05-13 23:27:46.069 altool[1735:3947350] *** Error: Unable to validate archive '/My/1.0.ipa': (

    "Error Domain=NSCocoaErrorDomain Code=-1011 \"Authentication failed\" UserInfo={NSLocalizedDescription=Authentication failed, NSLocalizedFailureReason=Failed to authenticate for session: (\n    \"Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 \\\"The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.\\\" UserInfo={NSLocalizedRecoverySuggestion=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedDescription=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedFailureReason=App Store operation failed.}\"\n)}"

)


看這報錯信息好像跟網(wǎng)絡(luò)狀態(tài)有關(guān),可能是由于代理服務(wù)器異?;蛘咛O果服務(wù)器異常導(dǎo)致的,拿提示的ITunesConnectionAuthenticationErrorDomain Code=-26000,或者The server returned an invalid response. This may indicate that a network proxy去百度上搜索,沒有找到什么實(shí)質(zhì)性的解決辦法,考慮到我本機(jī)并未使用代理服務(wù)器上傳,蘋果服務(wù)器出問題的概率更小,那就有可能是網(wǎng)絡(luò)原因?qū)е碌?,可以嘗試重置電腦、路由器試試,果然,電腦重置一下就可以上傳了。

備忘:還有一個情況,由于其他原因,當(dāng)時提交APP的時候,我本機(jī)設(shè)置的時間比實(shí)際時間晚兩天,重啟后我將電腦時間修正了。


原創(chuàng)內(nèi)容,轉(zhuǎn)載請注明出處:網(wǎng)站建設(shè),APP開發(fā),小程序開發(fā)請找江西居道科技有限公司,http://www.xhjnt.cn

智能建站系統(tǒng)代理招商
所屬分類:文章中心??????Time:2020-05-15 14:17:36??????人氣:3953
關(guān)閉
13517086454
彭山县| 嘉黎县| 松原市| 会理县| 海南省| 凤庆县| 忻州市| 中西区| 博白县| 江永县| 平定县| 邵武市| 林口县| 东台市| 金门县| 清河县| 石景山区| 三河市| 比如县| 拜泉县| 山阳县| 鲁甸县| 龙井市| 临洮县| 怀宁县| 息烽县| 卢龙县| 左云县| 泗阳县| 江阴市| 太仓市| 杭锦后旗| 绥芬河市| 江门市| 梧州市| 塔城市| 大理市| 富民县| 天气| 平乡县| 藁城市|