Xcode doesn't launch Automator to Debug an Action

Originator:kolpanic
Number:rdar://11415884 Date Originated:2012-05-09
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 4.3.2
Classification:Other Bug Reproducible:Always
 
09-May-2012 01:28 PM Karl Moskowski:
Summary:
Xcode doesn't launch Automator.app to Debug an Automator Action project.

Steps to Reproduce:
Launch Xcode, create a new Automator Action project, click the Run button.

Expected Results:
Automator.app should launch and the newly built action should be available in the list.

Actual Results:
Nothing happens.

Regression:
This used to work in Xcode 3.

Notes:
This is a problem for newly created Automator Action projects in Xcode 4, and for old projects that used to work in Xcode 3. In the latter case, Xcode 4 offers to upgrade project settings, but still renders it unrunnable.

A workaround is to modify the scheme for the project.
1. Under the Product menu, choose Edit Scheme…
2. On the Edit Scheme sheet, Choose the Run Automator.app from the list.
3. Under the Info tab, change the Executable to Automator.app.
4. Under the Arguments tab, change the Expand Variables Based On option from None to your product.
5. Click the + under Arguments Passed On Launch and add 
  -action "$(BUILT_PRODUCTS_DIR)/$(FULL_PRODUCT_NAME)".

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!