Xcode product in red when in release mode
I want to distribute my app, i put code sign开发者_运维知识库ing 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
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.
精彩评论