Vincent Gable’s Blog

July 5, 2008

Missing Frameworks

Filed under: Bug Bite,Cocoa,MacOSX,Objective-C,Programming | , ,
― Vincent Gable on July 5, 2008

I tried using an AMWorkflowView in a project, but when I ran it, I would crash with the following printed to the console:


*** Terminating app due to uncaught exception ‘NSInvalidUnarchiveOperationException’, reason: ‘*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (AMWorkflowView)’

It turns out I just forgot to include Automator.framework in my project!

It turns out that you also have to include Automator.framework to use any OSAScriptView objects.

I hope this helps someone who googles the error message :-).

5 Comments »

  1. Yeah it was very helpful … thanks

    Comment by Harkonnen — July 24, 2008 @ 11:49 am

  2. Thanks!
    Had the same problem and I found this on google :)

    Comment by Thomas — September 6, 2008 @ 8:44 pm

  3. “I hope this helps someone who googles the error message :-).”
    >> It does! Thanks a lot :-)

    Comment by Jeremy — November 19, 2009 @ 7:04 am

  4. Thanks a lot for posting your experience. It helped me :)

    Comment by Unreal — April 15, 2011 @ 2:06 am

  5. once again you saved someones day! =)

    Comment by Alfred — February 14, 2012 @ 1:43 pm

RSS feed for comments on this post.

Leave a comment

Powered by WordPress