iOS上传包一直卡着 Transporter-could not download

今天上传包一直卡着进度条 ,或是一半 或者到最后 一直不行


image.png

然后采用 Transporter 试试

Transporter

image.png

问题提示是 could not download

然后查看详细原因 java问题(并未解决实际问题)

[2022-02-11 21:18:00 CST] 
ERROR: could not download java.io.IOException: The directory: /Users/hualande/Library/Caches/com.apple.amp.itmstransporter/obr/2.3.0.40, is currenly locked by another process: 47441 at com.apple.transporter.launcher.util.DirectoryLock.lock(DirectoryLock.java:42) at com.apple.transporter.launcher.asu.ResourceDownloader.lock(ResourceDownloader.java:54) at com.apple.transporter.launcher.asu.SoftwareUpdater.download(SoftwareUpdater.java:112) at com.apple.transporter.bootstrap.BootstrapperPhase1.performSoftwareUpdate(BootstrapperPhase1.java:392) at com.apple.transporter.bootstrap.BootstrapperPhase1.realBootstrap(BootstrapperPhase1.java:196) at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:86) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:107) at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:78) at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at com.apple.transporter.launcher.Application.start(Application.java:450) at com.apple.transporter.launcher.Application.main(Application.java:947) java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at com.apple.transporter.launcher.Application.start(Application.java:450) at com.apple.transporter.launcher.Application.main(Application.java:947) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:107) at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:78) at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37) ... 6 more Caused by: java.lang.NullPointerException at com.apple.transporter.bootstrap.BootstrapperPhase2.bootstrapBundles(BootstrapperPhase2.java:284) at com.apple.transporter.bootstrap.BootstrapperPhase2.start(BootstrapperPhase2.java:163) at com.apple.transporter.bootstrap.BootstrapperPhase1.startOSGiFramework(BootstrapperPhase1.java:399) at com.apple.transporter.bootstrap.BootstrapperPhase1.realBootstrap(BootstrapperPhase1.java:225) at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:86) ... 13 more

尝试在活动监控器 删除Java这个进程 但是发现问题

新问题 很多

Download failed: https://contentdelivery.itunes.apple.com/transporter/repositories/j2se8/2.3.0.36/repository.xml.sha256

Download failed: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[7190,34]

could not download

具体详细信息 就不写出来了。其实一个问题解决 伴随其他问题出现 。然后终究解决方案如下

终极解决方案 清理缓存 重新下载组件

坑太多了 而且乱七八糟的

com.apple.amp.itmstransporter 清理

删除这个文件

/Users/hualande/Library/Caches/com.apple.amp.itmstransporter

iTMSTransporter 点击安装

/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter

双击

image.png

下载组件

这个步骤不需要做任何事情 (开启vpn 好像不下载 所以我关了vpn 然后就正常下载了)


image.png

重新上传包

image.png

你可能感兴趣的:(iOS上传包一直卡着 Transporter-could not download)