Xcode 4 archive warning to skip copy phase

The solution would be to go to the build settings of your application target (not the help tool target) and set “Strip Debug Symbols During Copy” to “No”. This is the key COPY_PHASE_STRIP. Activating this setting causes binary files which are copied during the build (e.g., in a Copy Bundle Resources or Copy Files build … Read more

How to tell if a .NET application was compiled in DEBUG or RELEASE mode?

I blogged this a long time ago, and I don’t know if it still valid or not, but the code is something like… private void testfile(string file) { if(isAssemblyDebugBuild(file)) { MessageBox.Show(String.Format(“{0} seems to be a debug build”,file)); } else { MessageBox.Show(String.Format(“{0} seems to be a release build”,file)); } } private bool isAssemblyDebugBuild(string filename) { return … Read more

Prevent Visual Studio from trying to load symbols for a particular DLL

You can’t do this in a very fine grained fashion but you can disable automatic symbol loading and then manually choose the symbols to load via the Modules window (Debug -> Windows -> Modules). To Disable Automatic Symbol loading Tools -> Options -> Debugging -> Symbols Check “Search the above locations only when symbols are … Read more