iOS常见问题---dyld: could not load inserted library ‘/usr/lib/libgmalloc.dylib’

时间:2022-06-01 22:07:22

工程在debug区域打印此警告

dyld: could not load inserted library ‘/usr/lib/libgmalloc.dylib’ because image not found

解决方案:

edit scheme —>run debug —>在Memory Management区域将Eanble Guard Malloc设置为不选中

如图:
iOS常见问题---dyld: could not load inserted library ‘/usr/lib/libgmalloc.dylib’