Java 2012-006 更新破坏了 xCode 上传 [英] Java 2012-006 update broke xCode Uploading
问题描述
这和这个问题有关无法提交申请
然而,在 Apple 最近的 java 更新(删除了 web 插件)之后,oracle 立即发布了 java 7 的更新
However after the most recent java update from apple (that removed the web plugin) oracle immediatley issued an update for java 7
现在 xcode 无法再上传上传到 iTunes Store 时出错"并且旧的修复程序不起作用.Java 1.6 消失了吗?还是我们需要做其他事情?
Now xcode can't upload anymore "An error occurred uploading to the iTunes Store" and the old fix doesn't work. Is Java 1.6 gone? Or do we need to do something else?
推荐答案
您可以在终端中执行此操作
You can do this in terminal
cd /System/Library/Frameworks/JavaVM.framework/Versions
open .
然后将 Current 和 CurrentJDK 文件夹复制到桌面或其他位置
Then copy out the Current and CurrentJDK folders to the desktop or other location and
rm Current*
ln -s 1.6.0/ Current
ln -s 1.6.0/ CurrentJDK
当您在终端中完成时,这解决了上传问题
This fixes the upload issue then when you are done in Terminal
cd /System/Library/Frameworks/JavaVM.framework/Versions
rm Current*
open .
然后从桌面复制原件,您的 Java 将再次工作.
Then copy the originals back from the desktop and you Java will be working again.
这篇关于Java 2012-006 更新破坏了 xCode 上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!