Quote:
Originally Posted by baja_yu
Theoretically, you can distribute Debug builds as ad hoc. I haven't tried it, but I've seen here people that actually uploaded Debug builds to the App Store without getting any automated errors, so it should work just fine for Ad Hoc.
|
Gack. Really? Debug builds in the app store?
That's bad for a number of reasons.
First is security. Debug builds have built-in symbols. That's like a roadmap for hackers. It makes reverse-engineering your code much, much easier.
Second, debug builds are not optimized. They tend to run quite a bit slower than release builds. It depends on the type of code. Code that does a lot of number-crunching tends to be CPU-bound, so it benefits a lot from the optimizations that are the default for a release build.
Our company has a fractal renderer for Mac OS, and the release build is very fast, while the debug build can be painfully slow. That's an extreme case of a compute-bound application, and the release version is tens of times faster. (It's also an extreme case of code that really benefits from code optimizations.)
All that being said, I regularly send out debug builds to our trusted remote testers. They're simpler to set up than ad hoc builds, and best of all, crash logs include symbol information so they're much easier to figure out.