欧美精品乱码久久久久久,色狠狠久久AV五月综合伊人久久,亚洲v国产v天堂a无码久久,欧美日韩在线不卡一区二区

查看詳情

xcrun altool提交APP STORE報錯網(wǎng)絡異常,錯誤代碼-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 命令進行校驗時報錯,信息一大堆,如下:


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)絡狀態(tài)有關(guān),可能是由于代理服務器異常或者蘋果服務器異常導致的,拿提示的ITunesConnectionAuthenticationErrorDomain Code=-26000,或者The server returned an invalid response. This may indicate that a network proxy去百度上搜索,沒有找到什么實質(zhì)性的解決辦法,考慮到我本機并未使用代理服務器上傳,蘋果服務器出問題的概率更小,那就有可能是網(wǎng)絡原因?qū)е碌模梢試L試重置電腦、路由器試試,果然,電腦重置一下就可以上傳了。

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


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

智能建站系統(tǒng)代理招商
所屬分類:文章中心??????Time:2020-05-15 14:17:36??????人氣:3894
關(guān)閉
13517086454