问题
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