Search code examples
cocoaxcode4automator

Debugging Automator Actions in 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?


Solution

  • 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