Я пытаюсь загрузить файл .ipa
, созданный с помощью expo
. Загрузчика приложений больше нет, поэтому единственный способ сделать это - использовать командную строку.
Вот что я делаю:
xcrun altool --upload-app --type ios -f ~/Downloads/app-645d5380-019e-42a6-aba2-d737e9181221-archive.ipa -u myappleid@gmail.com --password my-app-specific-password --verbose
Получение этого:
Communication error. Please use diagnostic mode to check connectivity.
Я испробовал все ответы на эти вопросы:
Я также пытался sudo, выключить брандмауэр, выключить littlesnitch, выключить VPN, использовать -ITunesTransport DAV
. Я пытался использовать разных интернет-провайдеров: подключал ноутбук через мой телефон и даже пытался загружать с другого компьютера Mac, расположенного в другой стране. Я пытался использовать xcode 10.3 Application Loader.
Полный вывод ошибок:
[2019-10-12 11:14:25 CEST] <main> ERROR: Communication error. Please use diagnostic mode to check connectivity.
[2019-10-12 11:14:25 CEST] <main> ERROR: Error while processing package 1482820372.itmsp
[2019-10-12 11:14:25 CEST] <main> ERROR: An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.
[2019-10-12 11:14:25 CEST] <main> DEBUG: com.apple.transporter.core.api.UnrecoverableOperationException: Communication error. Please use diagnostic mode to check connectivity.
at com.apple.transporter.JSONService.invoke(JSONService.java:436)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1244)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1203)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1167)
at com.apple.transporter.WebService.authenticateOperation(WebService.java:320)
at com.apple.transporter.operation.Upload$3.invoke(Upload.java:801)
at com.apple.transporter.operation.Upload$3.invoke(Upload.java:793)
at com.apple.transporter.core.ws.impl.WebServiceInvokerDefaultImpl.invokeWithRetry(WebServiceInvokerDefaultImpl.java:79)
at com.apple.transporter.operation.Upload.performAuthenticateOperationForUpload(Upload.java:793)
at com.apple.transporter.operation.Upload.validateAssets(Upload.java:550)
at com.apple.transporter.operation.Upload.performUploadRequest(Upload.java:296)
at com.apple.transporter.operation.Upload.performUploadRequest(Upload.java:129)
at com.apple.transporter.operation.Upload.performRequest(Upload.java:1268)
at com.apple.transporter.operation.Verify.execute(Verify.java:120)
at com.apple.transporter.Application.reallyBegin(Application.java:224)
at com.apple.transporter.Application.begin(Application.java:114)
at com.apple.transporter.osgi.TransporterService.start(TransporterService.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apple.transporter.starter.TransporterStarter.runService(TransporterStarter.java:476)
at com.apple.transporter.starter.TransporterStarter.runTransporterService(TransporterStarter.java:450)
at com.apple.transporter.starter.TransporterStarter.start(TransporterStarter.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apple.transporter.bootstrap.BootstrapperPhase2.runStartable(BootstrapperPhase2.java:355)
at com.apple.transporter.bootstrap.BootstrapperPhase2.runStarter(BootstrapperPhase2.java:317)
at com.apple.transporter.bootstrap.BootstrapperPhase2.start(BootstrapperPhase2.java:130)
at com.apple.transporter.bootstrap.BootstrapperPhase1.startOSGiFramework(BootstrapperPhase1.java:321)
at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:99)
at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:59)
at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apple.transporter.launcher.Application.start(Application.java:220)
at com.apple.transporter.launcher.Application.main(Application.java:658)
[2019-10-12 11:14:25 CEST] <main> INFO: JSON:{"msg":{"phase":"Upload","count":3,"description":"Operation failed","index":3},"messageType":"VerifyProgress"}
[2019-10-12 11:14:25 CEST] <main> DBG-X: Returning 1
2019-10-12 11:14:25.989 altool[6464:70139] Out:
Package Summary:
1 package(s) were not uploaded because they had problems:
/var/folders/2m/vfw1bgqd4pv7hk86kcbvcrlc0000gn/T/4AA8A45F-6127-4FC7-8F55-01708CFCF921/1482820372.itmsp - Error Messages:
Communication error. Please use diagnostic mode to check connectivity.
Error while processing package 1482820372.itmsp
An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.
2019-10-12 11:14:25.992 altool[6464:70139] Errors: (
"Error Domain=ITunesTransporterErrorDomain Code=-18000 \"Communication error. Please use diagnostic mode to check connectivity.\" UserInfo={NSLocalizedRecoverySuggestion=Communication error. Please use diagnostic mode to check connectivity., NSLocalizedDescription=Communication error. Please use diagnostic mode to check connectivity., NSLocalizedFailureReason=Communication error. Please use diagnostic mode to check connectivity.}",
"Error Domain=ITunesTransporterErrorDomain Code=-18000 \"Error while processing package 1482820372.itmsp\" UserInfo={NSLocalizedRecoverySuggestion=Error while processing package 1482820372.itmsp, NSLocalizedDescription=Error while processing package 1482820372.itmsp, NSLocalizedFailureReason=Error while processing package 1482820372.itmsp}",
"Error Domain=ITunesTransporterErrorDomain Code=-18000 \"An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.\" UserInfo={NSLocalizedRecoverySuggestion=An exception has occurred: Communication error. Please use diagnostic mode to check connectivity., NSLocalizedDescription=An exception has occurred: Communication error. Please use diagnostic mode to check connectivity., NSLocalizedFailureReason=An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.}"
)
2019-10-12 11:14:26.021 altool[6464:70128] *** Error: Errors uploading '/Users/my_user_name/Downloads/app-645d5380-019e-42a6-aba2-d737e9181221-archive.ipa': (
"Error Domain=ITunesTransporterErrorDomain Code=-18000 \"Communication error. Please use diagnostic mode to check connectivity.\" UserInfo={NSLocalizedRecoverySuggestion=Communication error. Please use diagnostic mode to check connectivity., NSLocalizedDescription=Communication error. Please use diagnostic mode to check connectivity., NSLocalizedFailureReason=Communication error. Please use diagnostic mode to check connectivity.}",
"Error Domain=ITunesTransporterErrorDomain Code=-18000 \"Error while processing package 1482820372.itmsp\" UserInfo={NSLocalizedRecoverySuggestion=Error while processing package 1482820372.itmsp, NSLocalizedDescription=Error while processing package 1482820372.itmsp, NSLocalizedFailureReason=Error while processing package 1482820372.itmsp}",
"Error Domain=ITunesTransporterErrorDomain Code=-18000 \"An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.\" UserInfo={NSLocalizedRecoverySuggestion=An exception has occurred: Communication error. Please use diagnostic mode to check connectivity., NSLocalizedDescription=An exception has occurred: Communication error. Please use diagnostic mode to check connectivity., NSLocalizedFailureReason=An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.}"
)
2019-10-12 11:14:26.022 altool[6464:70128] 'IosApplicationArchiveExpander', cleanupDestinationDirectory: '/var/folders/2m/vfw1bgqd4pv7hk86kcbvcrlc0000gn/T/app-645d5380-019e-42a6-aba2-d737e9181221-archive-3.ipa'
2019-10-12 11:14:26.120 altool[6464:70128] Cleaning up files....
2019-10-12 11:14:26.127 altool[6464:70128] Deleted temporary package at '/var/folders/2m/vfw1bgqd4pv7hk86kcbvcrlc0000gn/T/4AA8A45F-6127-4FC7-8F55-01708CFCF921/1482820372.itmsp'.
2019-10-12 11:14:26.127 altool[6464:70128] -[ITunesTransporter dealloc] <ITunesTransporter: 0x7ff236776640>
2019-10-12 11:14:26.129 altool[6464:70128] Deallocating <ITunesSoftwareServiceWorkSeriesFactory: 0x7ff2367744b0>
Я также пробовал XCode 10.3 Application Loader. Вот ошибка:
[2019-10-16 15:10:31 CEST] <main> INFO: Web service received a server status of: HTTP/1.1 504 Gateway Time-out
[2019-10-16 15:10:31 CEST] <main> INFO: Web service response received:
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body {
font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-size: 15px;
font-weight: 200;
line-height: 20px;
color: #4c4c4c;
text-align: center;
}
.section {
margin-top: 50px;
}
</style>
</head>
<body>
<div class="section">
<h1></h1>
<h3>Gateway Timeout</h3>
<p>Correlation Key: OBSCURED_COZ_IM_NOT_SURE_IF_I_CAN_SHARE_IT</p>
</div>
</body>
</html>
[2019-10-16 15:10:31 CEST] <main> ERROR: Communication error. Please use diagnostic mode to check connectivity.
[2019-10-16 15:10:31 CEST] <main> ERROR: Error while processing package 1483762480.itmsp
[2019-10-16 15:10:31 CEST] <main> ERROR: An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.
[2019-10-16 15:10:31 CEST] <main> DEBUG: com.apple.transporter.core.api.UnrecoverableOperationException: Communication error. Please use diagnostic mode to check connectivity.
at com.apple.transporter.JSONService.invoke(JSONService.java:436)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1244)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1203)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1167)
at com.apple.transporter.WebService.authenticateOperation(WebService.java:320)
at com.apple.transporter.operation.Upload$3.invoke(Upload.java:801)
at com.apple.transporter.operation.Upload$3.invoke(Upload.java:793)
at com.apple.transporter.core.ws.impl.WebServiceInvokerDefaultImpl.invokeWithRetry(WebServiceInvokerDefaultImpl.java:79)
at com.apple.transporter.operation.Upload.performAuthenticateOperationForUpload(Upload.java:793)
at com.apple.transporter.operation.Upload.validateAssets(Upload.java:550)
at com.apple.transporter.operation.Upload.performUploadRequest(Upload.java:296)
at com.apple.transporter.operation.Upload.performUploadRequest(Upload.java:129)
at com.apple.transporter.operation.Upload.performRequest(Upload.java:1268)
at com.apple.transporter.operation.Verify.execute(Verify.java:120)
at com.apple.transporter.Application.reallyBegin(Application.java:224)
at com.apple.transporter.Application.begin(Application.java:114)
at com.apple.transporter.osgi.TransporterService.start(TransporterService.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apple.transporter.starter.TransporterStarter.runService(TransporterStarter.java:476)
at com.apple.transporter.starter.TransporterStarter.runTransporterService(TransporterStarter.java:450)
at com.apple.transporter.starter.TransporterStarter.start(TransporterStarter.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apple.transporter.bootstrap.BootstrapperPhase2.runStartable(BootstrapperPhase2.java:355)
at com.apple.transporter.bootstrap.BootstrapperPhase2.runStarter(BootstrapperPhase2.java:317)
at com.apple.transporter.bootstrap.BootstrapperPhase2.start(BootstrapperPhase2.java:130)
at com.apple.transporter.bootstrap.BootstrapperPhase1.startOSGiFramework(BootstrapperPhase1.java:321)
at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:99)
at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:59)
at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apple.transporter.launcher.Application.start(Application.java:212)
at com.apple.transporter.launcher.Application.main(Application.java:642)
[2019-10-16 15:10:31 CEST] <main> INFO: JSON:{"msg":{"phase":"Upload","count":3,"description":"Operation failed","index":3},"messageType":"VerifyProgress"}
[2019-10-16 15:10:31 CEST] <main> DBG-X: Returning 1
Package Summary:
1 package(s) were not uploaded because they had problems:
/var/folders/2m/vfw1bgqd4pv7hk86kcbvcrlc0000gn/T/3FBECDBC-4EDE-458A-8F0F-2245871DE732/1483762480.itmsp - Error Messages:
Communication error. Please use diagnostic mode to check connectivity.
Error while processing package 1483762480.itmsp
An exception has occurred: Communication error. Please use diagnostic mode to check connectivity.