无法提交申请 [英] Submit Application not possible

查看:22
本文介绍了无法提交申请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去两天我非常努力地将我们的应用程序更新直接从 XCode 提交给 Apple.存档总是经过验证,但提交过程停止,然后在 XCode Organizer 中显示错误消息

I tried very hard the last two days to submit an update of our App to Apple directly out of XCode. The archive is always verified, but the submit process is stopped then with an error-message in XCode Organiser

an error occoured uploading to the iTunes Store

我在特定的 Mac 上打开了控制台应用程序,但有一个错误告诉我关于错误的 java 版本:

I opened the Console Application on the specific Mac and there is an error telling me something about a wrong java-version:

05.04.12 11:29:52,557 Xcode:  Error:
Java 1.5, 1.6, or 1.7 is required. Currently, java is the default java version. Please     upgrade.
05.04.12 11:29:52,558 Xcode:  Out:
05.04.12 11:31:16,776 Xcode:  Error:
05.04.12 11:31:16,777 Xcode:  Out:

我不敢相信这应该是问题所在,因为两天前,我可以毫无问题地向这台 Mac 上的商店提交应用程序二进制文件.

I couldn't believe this should be the problem, cause two days before, i could submit an app binary to the store on this Mac without a problem.

在终端启动 java -version 输出:

java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-413-11M3623)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-413, mixed mode)

我记得最近几天 Apple 进行了 JAVA 更新.

I thing i remember that there's been an JAVA Update by Apple in the last days.

有人遇到同样的问题吗?

Does anybody have the same problem?

推荐答案

这是一个已知错误!在 Apple 通过 Apple Software Updater 安装最新的 JAVA 更新后,无法将二进制文件上传到商店.有一种解决方法是在 termin 中输入以下命令来创建符号链接:

This is a known bug! After installation of the latest JAVA Update by Apple via Apple Software Updater, it is not possible to upload binarys to the Store. There is a workaround by entering the following commands in termin to create symlinks:

sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5

sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0

此后无需重启 Xcode 或重启整个 Mac.设置符号链接后,您可以立即将二进制文件上传到商店,并且应用程序加载器也按预期工作.

There is no need for a restart of Xcode after that or a restart of the whole Mac. Right after setting the symlinks you can upload binarys to the Store and also the Application Loader is working as supposed to.

这篇关于无法提交申请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆