{"id":34054,"date":"2021-10-29T15:08:22","date_gmt":"2021-10-29T19:08:22","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=34054"},"modified":"2021-10-29T15:08:22","modified_gmt":"2021-10-29T19:08:22","slug":"larger-files-and-smaller-packages-on-monterey","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/10\/29\/larger-files-and-smaller-packages-on-monterey\/","title":{"rendered":"Larger Files and Smaller Packages on Monterey"},"content":{"rendered":"<p><a href=\"https:\/\/scriptingosx.com\/2021\/10\/save-up-to-25-pkg-file-size-with-this-weird-monterey-trick\/\">Armin Briegel<\/a>:<\/p>\n<blockquote cite=\"https:\/\/scriptingosx.com\/2021\/10\/save-up-to-25-pkg-file-size-with-this-weird-monterey-trick\/\">\n<p>I stumbled over this as I was looking for a different new option for <code>pkgbuild<\/code> in Monterey. In a conversation with the ever awesome Duncan McCracken, he mentioned that the tool had gained an new option, <code>--large-payload<\/code>, which allows for individual files in the payload to be larger than 8GB.<\/p>\n<p>[&#8230;]<\/p>\n<p>We have learned that when you use the <code>--compression latest<\/code> with a <code>--min-os-version<\/code> of <code>10.10<\/code> or higher the pkg creation uses the Apple Archive compression for the payload, leading to smaller pkg file sizes. I did a few more tests with some other apps and the file compression improvements were between 20% and 25%.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Armin Briegel: I stumbled over this as I was looking for a different new option for pkgbuild in Monterey. In a conversation with the ever awesome Duncan McCracken, he mentioned that the tool had gained an new option, --large-payload, which allows for individual files in the payload to be larger than 8GB. [&#8230;] We have [&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-10-29T19:08:25Z","apple_news_api_id":"5193203d-00e1-47b1-81ad-3657125d865c","apple_news_api_modified_at":"2021-10-29T19:08:25Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AUZMgPQDhR7GBrTZXEl2GXA","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":[2135,357,30,903,2077],"class_list":["post-34054","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-archive","tag-compression","tag-mac","tag-mac-os-x-10-10-yosemite","tag-macos-12"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34054","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=34054"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34054\/revisions"}],"predecessor-version":[{"id":34055,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34054\/revisions\/34055"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=34054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=34054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=34054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}