【问题标题】:Debugging Automator Actions in Xcode 4在 Xcode 4 中调试 Automator 操作
【发布时间】:2011-11-09 21:28:14
【问题描述】:

我在 Xcode 3 中创建了一些 Automator 操作(Cocoa,而不是 AppleScript),这允许我通过从 Build 菜单执行 Build 和 Debug 来调试操作,这将打开 Automator 并添加该操作,我可以调试为正常,如以下链接中所述(在测试、调试和安装操作部分):

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

在 Xcode 4 中我找不到任何方法来执行此操作,产品菜单中的运行选项显示为灰色,工具栏中的运行按钮只是构建操作。

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

【问题讨论】:

    标签: cocoa xcode4 automator


    【解决方案1】:

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

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

    【讨论】:

    • 谢谢,这非常有用,虽然一开始我很困惑,因为说明指的是方案中的“运行 Automator.app”步骤。至少对我来说,第一次编辑方案时的步骤名称只是“运行”,并且只有在选择 Automator 应用程序作为该步骤的可执行文件时才变为“运行 Automator.app”。
    猜你喜欢
    • 2023-03-07
    • 1970-01-01
    • 2011-10-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-29
    • 2011-07-29
    • 2011-11-19
    相关资源
    最近更新 更多