你如何从 Xcode 导出你完成的应用程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1812650/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 03:12:54  来源:igfitidea点击:

How do you export your finished application from Xcode?

xcodecompilationfinalize

提问by Kaji

I feel silly for having to ask this. I've got an application to a point where I want to send someone a beta to test on their machine, but I don't know how to get Xcode to produce a .appfile for me to send to them. Help?

不得不问这个我觉得很傻。我有一个应用程序,我想向某人发送测试版以在他们的机器上进行测试,但我不知道如何让 Xcode 生成一个.app文件供我发送给他们。帮助?

回答by Matthew Rudy

This has changed in Xcode 4.

这在 Xcode 4 中发生了变化。

Now Apps can be exported from the "Organizer"

现在可以从“组织者”导出应用程序

If you haven't already, you need to create an Archive.

如果您还没有,则需要创建一个Archive.

On the menu go to Product -> Archive

在菜单上转到 Product -> Archive

Once you're in the Organizer - Archivesscreen click Shareor Distribute...(Xcode 4.3.3 or newer)

进入Organizer - Archives屏幕后,单击ShareDistribute...(Xcode 4.3.3 或更高版本)

Then choose the format you want to export.

然后选择要导出的格式。

回答by mtvee

the app is generally under your

该应用程序通常在您的

project_dir/build/Debug/Name Of App 
project_dir/build/Release/Name Of App
project_dir/build/Distribution/Name Of App 

depending on which configuration of build you did or want to send.

取决于您所做或想要发送的构建配置。

回答by Harry Fox

to get to the .app application you have to go into the folder where you created it into build the your app will be there

要访问 .app 应用程序,您必须进入创建它的文件夹以构建您的应用程序