{"id":1154,"date":"2014-06-10T10:49:57","date_gmt":"2014-06-10T09:49:57","guid":{"rendered":"http:\/\/www.aymericlamboley.fr\/blog\/?p=1154"},"modified":"2014-06-10T11:12:03","modified_gmt":"2014-06-10T10:12:03","slug":"silly-family-available-on-the-mac-app-store","status":"publish","type":"post","link":"http:\/\/www.aymericlamboley.fr\/blog\/silly-family-available-on-the-mac-app-store\/","title":{"rendered":"Silly Family available on the Mac App Store"},"content":{"rendered":"<p>Hey, I&#8217;m glad to share with you that <a href=\"http:\/\/silly-family.apptoonomy.com\/\" target=\"_blank\">Silly Family<\/a> is now available on the <a href=\"https:\/\/itunes.apple.com\/us\/app\/silly-family\/id882669738?l=fr&#038;ls=1&#038;mt=12\" target=\"_blank\">Mac App Store<\/a>! Don&#8217;t hear anything about Silly Family? Have a look <a href=\"http:\/\/www.aymericlamboley.fr\/blog\/silly-family-being-an-indie-dev\/\" target=\"_blank\">there<\/a>.<\/p>\n<p>Thanks to Adobe AIR technology, with exactly the same code base we released the game on iOS, Mac, Android &#038; Amazon. We could also release it to PC, but not sure where to sell it&#8230; I hope AIR would work on Windows 8 modern UI mode and so sell it via Windows store, but that&#8217;s an other story.<\/p>\n<p>The first time you&#8217;re looking for putting your AS3\/AIR game on the iOS store, you will find lots of tuts. However for the Mac App Store, that&#8217;s an other story. <a href=\"http:\/\/pigsels.com\/2012\/04\/air-app-store-publishing-guide\/\" target=\"_blank\">This one<\/a> is the most concrete that I found.<\/p>\n<p>Here is my bash script, FromAirAppToMacAppStore, working for AIR 13:<\/p>\n<pre lang=\"bash\">#!\/bin\/sh\r\n#!\/usr\/bin\/env bash\r\n#$ -N $2\r\n\r\nDIR=\"$( cd \"$( dirname \"$0\" )\" && pwd )\"\r\n\r\ncp $DIR\/Info.plist $DIR\/\"$1\".app\/Contents\r\ncp $DIR\/Icon.icns $DIR\/\"$1\".app\/Contents\/Resources\r\n\r\nrm $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/Current\/Resources\/WebKit.dylib\r\nrm -rf $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/1.0\/Resources\/AdobeCP15.plugin\r\nrm -rf $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/1.0\/Resources\/Flash\\ Player.plugin\r\nrm -rf $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/1.0\/Resources\/adobecp.plugin\r\n\r\nchmod -R 777 $DIR\/\"$1\".app\/\r\n\r\n#codesign -f -v -s \"$2\" $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/1.0\/Resources\/AdobeCP15.plugin\r\n#codesign -f -v -s \"$2\" $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/1.0\/Resources\/Flash\\ Player.plugin\r\n#codesign -f -v -s \"$2\" $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/1.0\/Resources\/adobecp.plugin\r\ncodesign -f -v -s \"$2\" $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\/Versions\/1.0\r\ncodesign -f -v -s \"$2\" $DIR\/\"$1\".app\/Contents\/Frameworks\/Adobe\\ AIR.framework\r\ncodesign -f -v -s \"$2\" --entitlements $DIR\/entitlements.plist $DIR\/\"$1\".app\r\n\r\ncodesign --display --entitlements - $DIR\/\"$1\".app\r\n\r\nproductbuild --component $DIR\/\"$1\".app \/Applications $DIR\/\"$1\".pkg --sign \"$3\"\r\n\r\ncodesign -v --verify $DIR\/\"$1\".app\r\n\r\nexit 0\r\n\r\n#sh FromAirToMacAppStore.sh \"SillyFamilyDesktop\" \"3rd Party Mac Developer Application: DaVikingCode (XXXXXXXXXX)\" \"3rd Party Mac Developer Installer: DaVikingCode (XXXXXXXXXX)\"<\/pre>\n<p>For more instructions (and latest update) have a look on my Github&#8217;s <a href=\"https:\/\/github.com\/DaVikingCode\/FromAirAppToMacAppStore\" target=\"_blank\">repository<\/a>. Note that I&#8217;m moving some repositories to <a href=\"https:\/\/github.com\/DaVikingCode\" target=\"_blank\">Da Viking Code<\/a>&#8216;s Github account, the <a href=\"https:\/\/github.com\/alamboley\/Citrus-Engine\" target=\"_blank\">Citrus<\/a> will move too \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey, I&#8217;m glad to share with you that Silly Family is now available on the Mac App Store! Don&#8217;t hear anything about Silly Family? Have a look there. Thanks to Adobe AIR technology, with exactly the same code base we released the game on iOS, Mac, Android &#038; Amazon. We could also release it to &hellip; <a href=\"http:\/\/www.aymericlamboley.fr\/blog\/silly-family-available-on-the-mac-app-store\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Silly Family available on the Mac App Store<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[161,4,33],"tags":[119,15,34],"_links":{"self":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/1154"}],"collection":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/comments?post=1154"}],"version-history":[{"count":7,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/1154\/revisions"}],"predecessor-version":[{"id":1161,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/1154\/revisions\/1161"}],"wp:attachment":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/media?parent=1154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/categories?post=1154"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/tags?post=1154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}