在 Xcode 4 中调试 Automator 操作

发布于 2024-12-14 18:03:04 字数 552 浏览 8 评论 0原文

我在 Xcode 3 中创建了一些 Automator 操作(Cocoa,而不是 AppleScript),这使我可以通过从“构建”菜单执行“构建”和“调试”来调试操作,这将打开添加了该操作的 Automator,并且我可以按照记录的方式正常调试在以下链接(在测试、调试和安装操作部分):

http://developer.apple.com/library/ mac/#documentation/appleapplications/Conceptual/AutomatorConcepts/Articles/DevelopAction.html

在 Xcode 4 中我找不到任何方法来做到这一点,运行选项产品菜单呈灰色,工具栏中的“运行”按钮仅构建操作。

有没有办法在 Xcode 4 中做到这一点,或者这是不可能的?

I created some Automator Actions (Cocoa, not AppleScript) in Xcode 3, and that allowed me to debug the actions by doing a Build and Debug from the Build menu, which would open Automator with that action added and I could debug as normal as documented at the below link (in the Testing, Debugging, and Installing the Action section):

http://developer.apple.com/library/mac/#documentation/appleapplications/Conceptual/AutomatorConcepts/Articles/DevelopAction.html

In Xcode 4 I cannot find any way to do this, the Run option in the Product menu is greyed out and the Run button in the toolbar just builds the action.

Is there a way of doing this in Xcode 4, or is this no loner possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

人海汹涌 2024-12-21 18:03:24

这是 Xcode4 的一个已知问题,以下是修改方案以使其正常工作的解决方法:

http://www.macosxautomation.com/automator/xcodefix/index.html

This is a known issue for Xcode4, here is the work-around to modify the scheme to make it work:

http://www.macosxautomation.com/automator/xcodefix/index.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文