Xcode product in red when in release mode

2019-05-10 00:54发布

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条回答
狗以群分
2楼-- · 2019-05-10 01:30

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.

查看更多
登录 后发表回答