处于发布模式时,Xcode产品为红色 [英] Xcode product in red when in release mode

查看:137
本文介绍了处于发布模式时,Xcode产品为红色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想分发我的应用程序,我进行代码签名和所有操作,最后一步是将构建版本发布。我去编辑方案并发布构建配置,然后由于某种原因我的产品变成红色。我无法在取景器中将其打开,因此无法发送。如果我将其更改回构建模式,则它不是红色,可以在finder中打开它。我该怎么办?

I want to distribute my app, i put code signing and everything and my last step was to set the build to release. I went to edit scheme and put build configuration to release and then my product turned red for some reason. I couldnt open it in finder therefore i cant send it. If I change it back to build mode it isnt red and I can open it in finder. What do I do?

我尝试了很多东西,但无法正常工作!

I have tried heaps of things but cannot get it to work!

请帮助,

谢谢

推荐答案

您只需要构建您的产品处于发布模式。完全按照在调试模式下进行的方式来更改构建配置并进行构建。

You simply need to need to build you product on release mode. Change the build configuration as you made and build, exactly the same way you did in debug mode.

在Xcode 4和更低版本的3.x版本中,您可能不应该这样做不能直接在发布模式下构建,而是使用存档功能

In Xcode 4 and older 3.x version, however, you probably shouldn't build directly in release mode but use the archive feature.

这篇关于处于发布模式时,Xcode产品为红色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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