Xcode product in red when in release mode

旧巷老猫 提交于 2020-01-02 07:31:09

问题


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!

Please help,

thank you


回答1:


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.

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



来源:https://stackoverflow.com/questions/7238612/xcode-product-in-red-when-in-release-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!