我目前正在将旧的 OS X 项目从 Xcode 3 GCC 迁移到 Xcode 4 LLVM。
到目前为止,迁移进展顺利。我已经将代码从 10.4 更新到了 10.6,其中包含很多已弃用的 API,并且编译得很好。
但是当我尝试使用 LLDB 进行调试时,我收到以下错误:
error: failed to launch '/Users/trenskow/Library/Developer/Xcode/DerivedData/The_Famous_Web_Editor-ddfqhzdztzzgfrcxaaywyxgtahzx/Build/Products/Debug/The Famous Web Editor.app/Contents/MacOS/The Famous Web Editor'
该应用程序自行运行良好(除了我试图调试的运行时错误)。
当我切换回 LLVM GCC 和 GDB 时,它可以正常启动,但 Xcode 永远不会在断点处停止。应用程序停止,但我没有得到任何断点被 Xcode 命中的迹象。