I am experimenting with various profiling options that Xcode provides, but when I enable the Guard Malloc option on the Diagnostics tab and try to run, I get this error with an immediate failure:
dyld: could not load inserted library: /usr/lib/libgmalloc.dylib
And rightly so, /usr/lib/
does not contain this library. I found it in:
Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/
So, I created the link and started the Command Line Tool (just to make sure it seems to be part of the MacOS SDK), turned on Guard Malloc again, but the problem remains. I donβt quite understand where the problem is: is there a new Xcode 4.3 error, a problem with my system, or Appleβs planned decision to replace it with something else (possibly Tools )?
source share