{"id":78,"date":"2011-06-29T15:54:00","date_gmt":"2011-06-29T15:54:00","guid":{"rendered":"https:\/\/www.root42.de\/blog\/?p=78"},"modified":"2011-06-29T15:54:00","modified_gmt":"2011-06-29T15:54:00","slug":"note-to-self-codesigning-for-os-x-and-ios-on-the-command-line","status":"publish","type":"post","link":"https:\/\/www.root42.de\/blog\/?p=78","title":{"rendered":"Note to self: codesigning for OS X and iOS on the command line"},"content":{"rendered":"<p>As a reminder for myself, here is how you can codesign an OS X application for the AppStore on the command line:<\/p>\n<pre>codesign -f -s \"3rd Party Mac Developer Application: Your Company\" -v YourApp.app<br \/>productbuild --component YourApp.app \/Applications --sign \"3rd Party Mac Developer Installer: Your Company\" YourApp.pkg<br \/><\/pre>\n<p>There is a lot more to do, of course, like having the correct bundle ID set, but this speeds up codesigning, if you do not use XCode to build your application.<\/p>\n<p>For iOS it is pretty similar, except you don&#8217;t need the productbuild:<\/p>\n<pre>codesign -f -s \"iPhone Distribution: Your Company\" -v YourApp.app<br \/><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>As a reminder for myself, here is how you can codesign an OS X application for the AppStore on the command line: codesign -f -s &#8220;3rd Party Mac Developer Application: Your Company&#8221; -v YourApp.appproductbuild &#8211;component YourApp.app \/Applications &#8211;sign &#8220;3rd Party Mac Developer Installer: Your Company&#8221; YourApp.pkg There is a lot more to do, of course, &hellip; <a href=\"https:\/\/www.root42.de\/blog\/?p=78\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Note to self: codesigning for OS X and iOS on the command line&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,58,24],"tags":[],"_links":{"self":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/78"}],"collection":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":0,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}