They both sound like the same thing. Distribution == Release, somehow. Having a hard time figuring out what the difference is.
Debug Mode: When we are developing the application. Release Mode: When we are going to production mode or deploying the application to the server. Debug Mode: The debug mode code is not optimized. Release Mode: The release mode code is optimized.
A Debug configuration supports the debugging of an app, and a Release configuration builds a version of the app that can be deployed.
A release build uses optimizations. When you use optimizations to create a release build, the compiler will not produce symbolic debugging information.
Visual Studio projects have separate release and debug configurations for your program. You build the debug version for debugging and the release version for the final release distribution. In debug configuration, your program compiles with full symbolic debug information and no optimization.
In my projects they're the same thing, but it really depends on the programmer and the build settings they want to put into each target.
For one programmer, "Release" might be an ADHOC build meant for internal testing while "Distribution" means a Store build.
Or maybe a different programmer would do the opposite "Release" is for the Store build and "Distribution" is for ADHOC.
Another thing... I usually see both "Release" and "Distribution" choices when I create fresh apps from templates, but "Release" (as a target) was around long before "Distribution", which came in with iOS IIRC. Some apps I've worked on only have "Debug" and "Distribution", another project I have open right now only has "Debug" & "Release". So YMMV.
Oh, and here is a related question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With