bdunagan

Brian Dunagan

June 14 2011
Xcode Tip: Debug vs Release

Recently, I wanted to know the difference between the Debug and Release configurations in Xcode’s Build Settings. Here are the essential flipped bits, turning a Release config into a Debug config:

		C01FCF5008A954540054247B /* Release */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
>>				COPY_PHASE_STRIP = NO;
				DEBUG_INFORMATION_FORMAT = dwarf;
>>				DEPLOYMENT_POSTPROCESSING = NO;
				GCC_C_LANGUAGE_STANDARD = gnu99;
>>				GCC_OPTIMIZATION_LEVEL = 0;
				GCC_WARN_ABOUT_RETURN_TYPE = YES;
				GCC_WARN_UNUSED_VARIABLE = YES;
				PREBINDING = NO;
				SDKROOT = macosx10.5;
>>				STRIP_INSTALLED_PRODUCT = NO;
				STRIP_STYLE = debugging;
			};
			name = Release;
		};
Iterating to iCloud Developers: Just Handle It
LinkedIn GitHub Email