{"id":31306,"date":"2021-01-13T15:32:15","date_gmt":"2021-01-13T20:32:15","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=31306"},"modified":"2021-01-14T08:52:38","modified_gmt":"2021-01-14T13:52:38","slug":"lost-persistent-applescript-properties","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/01\/13\/lost-persistent-applescript-properties\/","title":{"rendered":"Lost Persistent AppleScript Properties"},"content":{"rendered":"<p><a href=\"https:\/\/latenightsw.com\/big-sur\/\">Shane Stanley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/latenightsw.com\/big-sur\/\">\n<p>Native code for Apple silicon Macs has a new, inviolable, requirement: it will not run unless it is code-signed. In practice, that means all universal apps have to be code-signed.<\/p>\n<p>[&#8230;]<\/p>\n<p>Script Editor running on Big Sur will produce universal applets. This will be the case on both Intel and Apple silicon Macs. So every time an applet is saved in Script Editor while running Big Sur, it will be signed to run locally.<\/p>\n<p>This signing will be noticeable in two ways. First, saving will be a little slower &mdash; signing takes a certain amount of time. Second, because the point of signing code is to ensure its integrity, and because the whole applet is signed, the applet will only continue to work as long as it is not altered after signing. And the normal persistence of property values &mdash; where you change a property&rsquo;s value and the change is reflected the next time you launch the app &mdash; works by modifying the contents of an applet.<\/p>\n<p>So properties will not persist in universal applets run under Big Sur.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/08\/19\/apple-silicon-macs-to-require-signed-code\/\">Apple Silicon Macs to Require Signed Code<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Shane Stanley: Native code for Apple silicon Macs has a new, inviolable, requirement: it will not run unless it is code-signed. In practice, that means all universal apps have to be code-signed. [&#8230;] Script Editor running on Big Sur will produce universal applets. This will be the case on both Intel and Apple silicon Macs. [&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":"2021-01-13T20:32:19Z","apple_news_api_id":"e0d2a77b-e375-4079-a856-56aa8f2f898a","apple_news_api_modified_at":"2021-01-14T13:52:42Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/A4NKne-N1QHmoVlaqjy-Jig","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":[2],"tags":[159,466,30,1891,1025],"class_list":["post-31306","post","type-post","status-publish","format-standard","hentry","category-technology","tag-applescript","tag-codesigning","tag-mac","tag-macos-11-0","tag-rosetta"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31306","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=31306"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31306\/revisions"}],"predecessor-version":[{"id":31307,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31306\/revisions\/31307"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=31306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=31306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=31306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}