{"id":76,"date":"2008-07-05T01:20:55","date_gmt":"2008-07-05T06:20:55","guid":{"rendered":"http:\/\/vgable.com\/blog\/2008\/07\/05\/missing-frameworks\/"},"modified":"2008-07-05T01:20:58","modified_gmt":"2008-07-05T06:20:58","slug":"missing-frameworks","status":"publish","type":"post","link":"https:\/\/vgable.com\/blog\/2008\/07\/05\/missing-frameworks\/","title":{"rendered":"Missing Frameworks"},"content":{"rendered":"<p>I tried using an <a href=\"http:\/\/developer.apple.com\/documentation\/AppleApplications\/Reference\/AMWorkflowView_Class\/Reference\/Introduction.html\"><code>AMWorkflowView<\/code><\/a> in a project, but when I ran it, I would crash with the following printed to the console:<\/p>\n<p><strong><br \/>\n*** Terminating app due to uncaught exception &#8216;NSInvalidUnarchiveOperationException&#8217;, reason: &#8216;*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (AMWorkflowView)&#8217;<br \/>\n<\/strong><\/p>\n<p>It turns out I just forgot to include Automator.framework in my project!<\/p>\n<p>It turns out that you also have to include Automator.framework to use any <code>OSAScriptView<\/code> objects.<\/p>\n<p>I hope this helps someone who googles the error message :-).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8216;NSInvalidUnarchiveOperationException&#8217;, reason: &#8216;*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (AMWorkflowView)&#8217; It turns out I just forgot to include Automator.framework in my project! It turns [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,6,3,5,4],"tags":[75,73,74],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-bug-bite","category-cocoa","category-macosx","category-objective-c","category-programming","tag-amworkflowview","tag-automator","tag-osascriptview"],"_links":{"self":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":0,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"wp:attachment":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}