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

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 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