该捆绑包无效。 Apple当前不接受使用此版本操作系统构建的应用程序。 (小牛) [英] This bundle is invalid. Apple is not currently accepting applications built with this version of the OS. (Mavericks)

查看:114
本文介绍了该捆绑包无效。 Apple当前不接受使用此版本操作系统构建的应用程序。 (小牛)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我首先说我已经安装了Mavericks,我很好奇看到新功能...
最好等待,因为(显然)没有任何令人震惊的变化。

I start by saying that I've installed Mavericks, I was curious to see the new features... It was better to wait, because (apparently) there are no sensational changes.

无论如何,我正在尝试将我的应用提交到应用商店,但是在与代码签名进行了艰苦的斗争之后,我最终收到了以下消息:

Anyway, I'm trying to submit my app to the app store, but after a real hard fight with the code-signing, I have ended up with this message:

此捆绑包无效。Apple当前不接受使用此版本操作系统构建的应用程序。

"This bundle is invalid. Apple is not currently accepting applications built with this version of the OS."

...。据我了解,唯一的解决方案似乎是卸载Mavericks并返回到Mountain Lion,但是如果其他人有替代的解决方案,我将很高兴。

....From what I read, the only solution seems to uninstall Mavericks and go back to Mountain Lion, but I will be happy if someone else has got a alternative fix.

推荐答案

在Internet上进行了一些研究之后,我找到了解决此问题的解决方案。

After some research on Internet I've found a fix for this problem.

1)打开 App Store并暂时保留。

1) Open "App Store" and leave it for now.

2)在桌面上按cmd + shift + g并转到/ system / library / coreservices /

2) press cmd+shift+g on your desktop and go to /system/library/coreservices/

2)将SystemVersion.plist复制到您的桌面上,并复制文件

2) Copy SystemVersion.plist to your desktop, and duplicate the file

3)在桌面上用正确的名称(而不是副本)打开文件,然后用以下内容替换旧部分:

3) Open the file with the right name on your desktop, not the copy, and replace the old part with this:

<key>ProductBuildVersion</key>
<string>12E55</string>
<key>ProductCopyright</key>
<string>1983-2013 Apple Inc.</string>
<key>ProductName</key>
<string>Mac OS X</string>
<key>ProductUserVisibleVersion</key>
<string>10.8.4</string>
<key>ProductVersion</key>
<string>10.8.4</string>

4)现在,将此编辑后的文件复制到/ system / library / coreservices,然后转到 App Store

4) Now copy this edited file to /system/library/coreservices, and go to "App store" application.

5)现在下载Xcode 4.6.3,因为您的OsX被检测为Mountain Lion。

5) Download Xcode 4.6.3, now you can because your OsX is detected as Mountain Lion.

6)下载完成并安装Xcode后,重新启动

6) Once the download its finish, and Xcode installed, reboot.

7)在xcode 5 beta中打开项目,如果您有一些.xib文件,请进入文件检查器,进行文档版本控制,然后将开发版本更改为4.6(而不是5)。对每个.xib执行此操作,然后关闭xcode 5

7) Open your project in xcode 5 beta, if you have some .xib files, go in the file inspector, document versioning, and change development version to 4.6 instead of 5. Do this for each .xib, then close xcode 5

8)打开Xcode 4.6.3并重新打开项目。检入构建设置,以确保任何地方都不存在10.9。替换为10.8或任何您需要的东西。

8) Open Xcode 4.6.3 and reopen your project. Check in the build settings that 10.9 is not present anywhere. Replace it with 10.8 or whatever you need.

9)清理干净,构建存档文件,存档...交叉手指!

9) Make clean, Build for archiving, Archive ... Cross your finger!

10)您的项目应立即通过验证。

10) Your project should be validated now.

11)上传应用后,在桌面上重命名SystemVersion.plist(副本),并将其复制回/ system / library / coreservices。您不需要重新启动。

11) Once you uploaded your app, rename the SystemVersion.plist (copy) on your desktop, and copy it back to /system/library/coreservices. You don't need to reboot.

这有点像黑客,但是如果您不想重新安装所有内容,那是唯一的选择。

It's kinda a hack, but if you don't want to reinstall everything, it's the only way to go.

Ps:替换SystemVersion.plist后,您会注意到Os中的奇怪行为,例如野生动物园无法正常工作等等,这就是为什么我建议复制plist的原因文件,之前更改操作系统版本。无论如何,如果您仍然可以使用终端和 vi还原所有内容,或者由于某种原因您没有复制原始内容。

P.s: after replacing SystemVersion.plist, you will notice strange behaviors in the Os, like safari that isn't working and so on, that's why I suggested to duplicate the plist file, before changing the os version. Anyway if you can still use terminal and "vi" to restore everything, if for some reason you didn't copy the original.

希望这会有所帮助某人。我已经迷失了一天,想出一个解决方案;)

Hope this will help someone. I've lost a day figuring out a solution ;)

这篇关于该捆绑包无效。 Apple当前不接受使用此版本操作系统构建的应用程序。 (小牛)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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