Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Xcode debug and release build config.

Why is the release version of the active executable about twice the size of the debug version?

Does Apple have a PDF manual for Xcode?

Jeff.

MacBook, Mac OS X (10.5.8), Xcode 3.1.2

Posted on Feb 1, 2010 5:26 AM

Reply
4 replies

Feb 1, 2010 8:05 AM in response to Jeffrey Young

Jeffrey Young wrote:
Why is the release version of the active executable about twice the size of the debug version?


It depends. What kind of code is it? C++ code with lots of templates could get big. Static linking could cause it too.

Does Apple have a PDF manual for Xcode?


No, they have about 3271 PDF manuals for Xcode. Which one do you want? Usually there is a little "PDF" button on the toolbar of the document you are looking at.

Feb 1, 2010 11:37 AM in response to Jeffrey Young

The release version is twice the size of the debug version because Xcode builds universal binaries in the release version and builds only for your architecture in the debug version. When you build the release version, you have at least two copies of your executable: Intel and PowerPC. When you build the debug version, there's only one copy of the executable.

Xcode debug and release build config.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.