问题描述
尽管提供了密码,但使用 xcrun altool
上传 IPA 文件失败并显示 The password must have a non-empty value.
。知道缺少什么吗?谢谢!
$ sudo xcrun altool --upload-app -f MyIpa.ipa -t ios -u [email protected] --password foobarPass
2021-03-11 10:57:18.663 altool[66551:6032514] CFURLRequestSethttpcookiestorageAcceptPolicy_block_invoke: no longer implemented and should not be called
2021-03-11 10:57:37.376 altool[66551:6032534] Error:
[2021-03-11 10:57:36 MEZ] <main> INFO: Transporter is searching for updated software components.
[2021-03-11 10:57:37 MEZ] <main> INFO: Transporter software update Failed with unexpected exception.
[2021-03-11 10:57:37 MEZ] <main> INFO: An exception has occurred: Received fatal alert: protocol_version
[2021-03-11 10:57:37 MEZ] <main> DEBUG: javax.net.ssl.SSLException: Received fatal alert: protocol_version
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.apache.Felix.bundlerepository.impl.FileUtil.openURL(FileUtil.java:203)
at org.apache.Felix.bundlerepository.impl.FileUtil.openURL(FileUtil.java:196)
at org.apache.Felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:113)
at org.apache.Felix.bundlerepository.impl.RepositoryAdminImpl$1.run(RepositoryAdminImpl.java:114)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.Felix.bundlerepository.impl.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:110)
at org.apache.Felix.bundlerepository.impl.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:98)
at org.apache.Felix.bundlerepository.impl.wrapper.RepositoryAdminWrapper.addRepository(RepositoryAdminWrapper.java:49)
at com.apple.transporter.updater.UpdaterService.addRepository(UpdaterService.java:76)
at com.apple.transporter.updater.UpdaterService.run(UpdaterService.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.apple.transporter.osgi.OsgiBootstrapper.runUpdater(OsgiBootstrapper.java:526)
at com.apple.transporter.osgi.OsgiBootstrapper.bootstrap(OsgiBootstrapper.java:302)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.apple.transporter.Application.start(Application.java:133)
at com.apple.transporter.Application.main(Application.java:357)
[2021-03-11 10:57:37 MEZ] <main> WARN: The following option was specified but is not recognized: -sessionid
[2021-03-11 10:57:37 MEZ] <main> WARN: The following option was specified but is not recognized: -sharedsecret
[2021-03-11 10:57:37 MEZ] <main> ERROR: The password must have a non-empty value.
2021-03-11 10:57:37.378 altool[66551:6032534] Out:
2021-03-11 10:57:37.487 altool[66551:6032508] *** Error: Error uploading 'MyIpa.ipa'.
2021-03-11 10:57:37.487 altool[66551:6032508] *** Error: code -18000 (The password must have a non-empty value.)
$ xcrun altool --version
4.029.1194
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)