今天上傳包一直卡著進度條 痊硕,或是一半 或者到最后 一直不行
然后采用 Transporter
試試
Transporter
問題提示是 could not download
然后查看詳細原因 java問題(并未解決實際問題)
[2022-02-11 21:18:00 CST] <main> 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
嘗試在活動監(jiān)控器 刪除Java這個進程 但是發(fā)現(xiàn)問題
新問題 很多
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
具體詳細信息 就不寫出來了拾徙。其實一個問題解決 伴隨其他問題出現(xiàn) 墙基。然后終究解決方案如下
終極解決方案 清理緩存 重新下載組件
坑太多了 而且亂七八糟的
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
雙擊
下載組件
這個步驟不需要做任何事情 (開啟vpn 好像不下載 所以我關了vpn 然后就正常下載了)