没有“分享” Xcode 4.3管理器中的按钮 [英] There is no "share" button in Xcode 4.3 organizer

查看:146
本文介绍了没有“分享” Xcode 4.3管理器中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个有效的Apple iOS开发帐户,并设置了所有配置文件。我可以在我的iPhone上调试应用程序。但是当我做Product - > Archive并去组织者时,只有一个Validate ...和Distribute ...按钮。

I have a valid Apple iOS dev account and all provision profiles set. I can debug the application on my iPhone. But when I do Product -> Archive and went to the organizer, there is only a "Validate..." and "Distribute..." button.

点击Distribute ...按钮仅向我提供Save built products和Save Xcode archive,它们都不包含任何IPA文件。

Clicking the "Distribute..." button only provides me with "Save built products" and "Save Xcode archive" which both doesn't contains any "IPA" file.

那里然而,是一个MyApp.app文件构建。我不知道该怎么办。

There is however an "MyApp.app" file built. I'm not sure what to do about it though.

建议?

编辑:一些截图:

http://cl.ly/3Q3m1C273C1X172D3l43/ss.png

http://cl.ly/342A2T3L0X3X01253e0W/ss1.png

推荐答案

在简短:确保在构建设置屏幕中将所有链接库配置为跳过安装为是。这里有一些关于如何做到这一点的详细说明。

In short: Make sure you have configured all linked libraries with "Skip Install" to "YES" in the build settings screen. There are a few detailed instruction on how to do that here on SO.

如果不这样做,点击验证...应该可以找到任何可能的修复方法。

Failing that, clicking on "Validate..." should clue you in to any potential fixes.

所以,我只是设置我的机器,不知何故,在一个库项目Skip Install被恢复为不。

So, I just set-up my machine and somehow on one of a library project "Skip Install" was reverted to "NO".

这是错误的第一个迹象是存档类型显示为通用Xcode存档,这是错误的。

The first sign that this is wrong is that the "Archive Type" shows up as "Generic Xcode Archive" which is the wrong one.

您可以通过在管理器中选择存档并单击验证...来验证这一点,Xcode应该会告诉您有关多包问题的信息。

You can verify this by selecting the archive in organizer and clicking "Validate...", Xcode should tells you about the multi-bundle problem.

包含多个产品是一个已知的Xcode问题,可以通过确保所有项目中的所有构建产品都将构建设置Skip Install设置为YES来解决,除了你的主要应用项目。如果通过将 xcodeproj 文件拖放到Xcode中来添加库项目,就会发生这种情况。

The "contains multiple product" is a known Xcode issue and can be worked around by making sure that all built products in all of your projects have the build setting "Skip Install" set to "YES" except for your main application project. This can happens if you add a library project by dragging the xcodeproj file into Xcode.

修复后重新启动它-archiving,它现在应该显示存档类型iOS App Archive。

After fixing it and re-archiving, it should now shows up with an archive type of "iOS App Archive".

如果你现在点击分发...,你现在将成为能够通过选择第二个选项正确导出IPA。

And if you click "Distribute..." now, you will now be able to properly export an IPA by selecting the second option.

这篇关于没有“分享” Xcode 4.3管理器中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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