xcode 如何构建和归档 iOS 应用程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6882809/
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-14 21:36:37  来源:igfitidea点击:

How to build and archive iOS application?

objective-cxcodearchive

提问by youshunei

How to build and archive or archive only iOS application? I want to archive to .ipa file but cannot select "Product>Archive" or "Product>Build for>Build for Archive" menu (is disabled). I am using Xcode 4.1 on OS Lion. Have any special configuration to building with archive option I don't known?

如何构建和存档或仅存档 iOS 应用程序?我想存档到 .ipa 文件,但无法选择“产品>存档”或“产品>构建>构建存档”菜单(已禁用)。我在 OS Lion 上使用 Xcode 4.1。使用我不知道的存档选项进行构建有什么特殊配置吗?

Thanks in advance.

提前致谢。

回答by saadnib

Please select device from target then simulator as -

请从目标然后模拟器中选择设备作为 -

enter image description here

在此处输入图片说明