Xcode Difference between debug and release
What are the differences between debug and release builds for a Cocoa application? I know the debug version contains additional information for debugging but what else is different?
“The biggest difference between these is that:
One can expect to see funny errors in release builds due to compiler optimizations or differences in memory layout or initialization. These are ususally referred to as Release – Only bugs 🙂
In terms of execution speed, a release executable will execute faster for sure, but not always will this different be significant.”
Courtesy of google and user mcdeeiis
This is a pretty solid explanation for all programming languages