I wrote a Cocoa Automator action that uses the Pod PodioKit. Everything works fine when used in an Automator workflow, the method - (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo
is called and all steps work.
The problem occurs when I try to build an Automator service or an Automator app using the same action. The method - (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo
is called, I can read the results from NSLog()
calls. BUT all calls of PodioKit methods are completely ignored, just like they weren't there. Automator seems to jump over the calls :-/
Maybe someone ran into similar problems and found a checkbox, a build setting or anything like this to let Automator services take care about external APIs/Pods. Or maybe a good tipp/ question into the right direction...