我正在尝试在Xcode中分析一个C/C++应用程序。我按下Command + I进行分析,选择Leaks,然后点击记录按钮。但是,我收到这个错误:
Failed to attach to target process
Failed to execute loader thread for /Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/liboainject.dylib in target; target process <pid> likely exited
1条答案
按热度按时间dgenwo3n1#
检查主函数的定义,使用
而不是