Xcode`Prile`功能是否自动使用`Release`构建配置? [英] Does the Xcode `Archive` function automatically use the `Release` build configuration?
问题描述
将应用程序发布到App Store时,我的标准工作流程是按产品>存档
来自Xcode的菜单栏。
My standard workflow, when releasing an app to the App Store, is to press Product > Archive
from Xcode's menubar.
我意识到我从未改变Xcode 构建配置
在我的构建方案中。我在开发期间将它设置为 Debug
,但希望App Store上的版本为 Release
。
I realize that I never change the Xcode Build Configuration
in my build scheme. I have it set to Debug
during development, but want the version on the App Store to be Release
.
我希望并假设产品>存档
自动使用发布
构建配置。任何人都可以确认吗?
I am hoping and assuming that Product > Archive
automatically uses a Release
build configuration. Can anyone confirm?
推荐答案
是的。默认情况下,Debug配置用于在Simulator上运行,而Release用于Archives。我建议查看你的方案。
Yes. By default, the Debug configuration is used for running on the Simulator while the Release is for Archives. I recommend looking at your Schemes.
产品 - >方案 - >编辑方案......
Product -> Scheme -> Edit Scheme...
这篇关于Xcode`Prile`功能是否自动使用`Release`构建配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!