{"id":3568,"date":"2020-09-10T05:38:44","date_gmt":"2020-09-10T05:38:44","guid":{"rendered":"http:\/\/truelogic.org\/wordpress\/?p=3568"},"modified":"2020-09-10T05:38:51","modified_gmt":"2020-09-10T05:38:51","slug":"macos-commands-for-signing-apps","status":"publish","type":"post","link":"https:\/\/truelogic.org\/wordpress\/2020\/09\/10\/macos-commands-for-signing-apps\/","title":{"rendered":"MacOS Commands For signing Apps"},"content":{"rendered":"\n<p>Check if an app has been signed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>codesign --verify --verbose \"full\/path\/to\/your.app\"<\/code><\/pre>\n\n\n\n<p>Sign a pkg file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo productbuild --package \"your.pkg\" --content \"\/path\/to\/your\/app.app\" --sign \"name of your certificate\" \"name of your signed.pkg\"<\/code><\/pre>\n\n\n\n<p>Check if a pkg has been signed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkgutil --check-signature \"\/path\/to\/your\/app.pkg\"<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Check if an app has been signed: Sign a pkg file: Check if a pkg has been signed:<\/p>\n<\/div>","protected":false},"author":1,"featured_media":3569,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[310],"tags":[],"class_list":["post-3568","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-xcode-swift"],"_links":{"self":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/3568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/comments?post=3568"}],"version-history":[{"count":2,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/3568\/revisions"}],"predecessor-version":[{"id":3571,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/3568\/revisions\/3571"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media\/3569"}],"wp:attachment":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media?parent=3568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/categories?post=3568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/tags?post=3568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}