{"id":24251,"date":"2019-02-11T17:02:23","date_gmt":"2019-02-11T22:02:23","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=24251"},"modified":"2019-02-11T17:02:23","modified_gmt":"2019-02-11T22:02:23","slug":"sandboxed-macos-x-login-item-with-xpc","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/02\/11\/sandboxed-macos-x-login-item-with-xpc\/","title":{"rendered":"Sandboxed macOS X Login Item With XPC"},"content":{"rendered":"<p><a href=\"https:\/\/orangejuiceliberationfront.com\/sandboxed-macos-login-item-with-xpc\/\">Uli Kusterer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/orangejuiceliberationfront.com\/sandboxed-macos-login-item-with-xpc\/\">\n<p>I&rsquo;m currently working on updating the <a href=\"http:\/\/www.zathras.de\/moose\/\">Talking Moose<\/a> to modern macOS, with an eye on a Mac App Store release. This differs from your stock XPC setup, as the Talking Moose consists of a GUI application for configuring it, and a background process for the animated character, the latter of which should be launched at login and stay running, instead of only being launched on-demand when someone makes explicit requests to the service.<\/p>\n<p>Here are the things I had to do differently from Xcode&rsquo;s standard XPC Service target template[&#8230;]<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Uli Kusterer: I&rsquo;m currently working on updating the Talking Moose to modern macOS, with an eye on a Mac App Store release. This differs from your stock XPC setup, as the Talking Moose consists of a GUI application for configuring it, and a background process for the animated character, the latter of which should be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-02-11T22:02:25Z","apple_news_api_id":"fe3978ec-4495-4656-9664-2b5c102c8ed7","apple_news_api_modified_at":"2019-02-11T22:02:26Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A_jl47ESVRlaWZCtcECyO1w","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[30,1609,71,53,1473],"class_list":["post-24251","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-mac","tag-macos-10-14","tag-programming","tag-sandboxing","tag-xpc"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=24251"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24251\/revisions"}],"predecessor-version":[{"id":24252,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24251\/revisions\/24252"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=24251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=24251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=24251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}