ipa上传APPStore报错
报错信息:
java.lang.reflect.InvocationTargetException
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:206)
at com.apple.transporter.launcher.Application.main(Application.java:519)
Caused by: java.lang.IllegalStateException: could not find needed OSGiFramework
at com.apple.transporter.bootstrap.BootstrapHelper.setupClassLoader(BootstrapHelper.java:160)
at com.apple.transporter.osgi.FelixOSGiBootstrapper.bootstrap(FelixOSGiBootstrapper.java:21)
或者
解决方案
终端输入:
cd ~
mv .itmstransporter/ .old_itmstransporter/
(如果输入上面mv .itmstransporter/ .old_itmstransporter/ 的命令报错:找不到路径)
那么把命令行改成
先mv .old_itmstransporter/ .itmstransporter/
再mv .itmstransporter/ .old_itmstransporter/