gpt4 book ai didi

xcode - 在 Xcode 4 中添加外部可执行文件

转载 作者:行者123 更新时间:2023-12-03 22:33:18 24 4
gpt4 key购买 nike

我想在 OS X 上调试 Firefox 代码。
我正在阅读 this page它告诉我:

Now you need to add the executable. Select Project > New Custom Executable and type a pretty name, then click the Choose button to locate the .app file that you want to debug (Mozilla.app, Firefox.app, DeerParkDebug.app etc). The .app file is



但是 xcode 4 没有项目菜单。我似乎无法找到如何添加自定义可执行文件。我已经成功构建了 Firefox,但我无法调试它,因为我不知道如何在 Xcode 4 中添加可执行文件。我怀疑链接中的步骤适用于 Xcode 3。

最佳答案

在 Xcode 4 下,您必须编辑方案才能运行可执行文件。选择一个方案(或为您的目标复制一个方案)然后选择“运行”阶段。您将看到一个“可执行文件”弹出菜单,选择您希望使用的可执行文件,然后运行您的目标。与 Xcode 3 一样,还有其他用于指定参数等的设置。

关于xcode - 在 Xcode 4 中添加外部可执行文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7129556/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com