diff --git a/2_Icons/ReadMe.md b/2_Icons/ReadMe.md index a6ac195..081b5b5 100644 --- a/2_Icons/ReadMe.md +++ b/2_Icons/ReadMe.md @@ -25,6 +25,7 @@ Either use this icon as a base or: 4. From that iconset it will create an PlayerIcon.icns file. 5. Create a UnityPlayerIcon.png in correct size (64x64) 6. Copy both “UnityPlayerIcon.png” and “PlayerIcon.icns” to *“1_MyBuild/YOUR.APP/Contents/Resources”* and replace what unity made. +7. For automation features call `./OSX\ Icon -h` #### Problem On High Sierra there is no way to create an icns file that includes all 10 required sizes through icon util (Everything but 16X16@1x and 32x32@1x). The only way to do this is to run this script on an older OS. I believe I did it with Sierra. You can open .ICNS files with preview to double check. I am not sure if this is a problem though. I have read not all are necessary. But if you are obsessive on details like me there is no other way. Believe me I have tried it all. Nothing worked besides running the IconUtil on an older OS. diff --git a/4_InfoPlist/ReadMe.md b/4_InfoPlist/ReadMe.md index 7165123..33f7244 100644 --- a/4_InfoPlist/ReadMe.md +++ b/4_InfoPlist/ReadMe.md @@ -39,6 +39,9 @@ Save the Info.plist inside your package and don’t forget to create a copy sinc ## PluginsReplaceBundleId ### What it does Takes the Info.plist you just made and finds your BundleIdentifier. Opens all bundles in the plugins folder and replaces the BundleIdentifier value with yours. + +For automation features call `./PluginsReplaceBundleId -h` + ### Why Even the Unity services bundles need your BundleIdentifier, otherwise you will get errors when uploading to the Appstore. diff --git a/6_SignAndPackage/ReadMe.md b/6_SignAndPackage/ReadMe.md index 2b3b2c5..d01dda3 100644 --- a/6_SignAndPackage/ReadMe.md +++ b/6_SignAndPackage/ReadMe.md @@ -49,12 +49,14 @@ To sign your testing builds you need a personal name and id. Note that the ID is 1. When prompted type your team name 2. When prompted enter : dev, appstore, installer,zip -| INPUT | WILL CREATE PACKAGE FOR | AT | -|:--|:--|:--| -| dev | Development | 7_Distribution/VERSION/Development | -| appstore| Appstore | 7_Distribution/VERSION/Appstore/ | -| installer | Distribute outside Appstore | 7_Distribution/VERSION/Installer/ | -| zip | Distribute outside Appstore | 7_Distribution/VERSION/Zip/ | + | INPUT | WILL CREATE PACKAGE FOR | AT | + |:--|:--|:--| + | dev | Development | 7_Distribution/VERSION/Development | + | appstore| Appstore | 7_Distribution/VERSION/Appstore/ | + | installer | Distribute outside Appstore | 7_Distribution/VERSION/Installer/ | + | zip | Distribute outside Appstore | 7_Distribution/VERSION/Zip/ | + +3. For automation features call `./SignAndPackage -h` **IMPORTANT** if signing is successful and you have signed for the first time you will be prompted to add “codesign” to your keychain. **Always allow** diff --git a/6_SignAndPackage/SignAndPackage b/6_SignAndPackage/SignAndPackage index b07a0a1..4a86b87 100755 --- a/6_SignAndPackage/SignAndPackage +++ b/6_SignAndPackage/SignAndPackage @@ -8,7 +8,8 @@ while getopts "hft:i:s:" opt; do echo " -h: Help" echo " -f: Force overwrite of build if existing" echo " -t target: Build target – one of (dev|appstore|installer|zip)" - echo " -i identity: Developer/team name and id (in quotes) e.g. 'MY COMPANY (FKJLDLKFDG)'" + echo " -i identity: Developer or team name and id (in quotes)" + echo " e.g. 'TEAM NAME (XXXXXXXXXX)' or 'YOUR NAME (XXXXXXXXXX)'" echo " -s signmode: Codesign with --deep? One of (deep|shallow)" echo exit 0 diff --git a/ReadMe.md b/ReadMe.md index c6a0a91..4beea24 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -92,6 +92,13 @@ Self explanatory. ### RepeatForUpdatedBuild Script that calls all the other scripts to speed up preparing updates and creating new builds. +When you need to run the script over and over again, or you want to automate this process for future builds, call `./PluginsReplaceBundleId -h` to see automation options. +Here is an example of a fully automated process: + + ./RepeatForUpdatedBuild -q -t appstore -i 'TEAM NAME (XXXXXXXXXX)' -s deep + +The only thing that needs to be done manually is placing the build in the right directory, and uploading the final package via Application Loader. + ## PM or ask at [UNITY THREAD](https://forum.unity.com/threads/unity-appstore-distribution-workflow-guide.542735/) or to contribute As we will not be constantly uploading games to the App Store it might be good to have other people pitching in so that there's a central point to get help that doesn't age. So anyone who wants to become a contributor just pm me on git even if it is to just add some documentation. @@ -127,6 +134,7 @@ Worked on this workflow? Add yourself! Btw you can use the *"doc/CombineAllReadm | ORGINAL WORKFLOW | UNSH | [UNSH.IO](https://unsh.io) | |[Post](https://forum.unity.com/threads/unity-appstore-distribution-workflow-guide.542735/#post-3604213) | Atorisa | [Assets](https://assetstore.unity.com/publishers/17426) | Corrections guide iCloud | omgitsraven |[Home](https://github.com/omgitsraven|http://andrew.fraticelli.info/)| +| Build automation | v01pe | [brokenrul.es](http://brokenrul.es)   diff --git a/RepeatForUpdatedBuild b/RepeatForUpdatedBuild index 5fa9a8e..71522f3 100755 --- a/RepeatForUpdatedBuild +++ b/RepeatForUpdatedBuild @@ -8,9 +8,12 @@ while getopts "hqt:i:s:" opt; do echo " -h: help" echo " -q: quiet mode – skip confirmations, delete icon images clutter" echo " -t target: Build target – one of(dev|appstore|installer|zip)" - echo " -i identity: Developer/Team name and id (in quotes) e.g. 'MY COMPANY (FKJLDLKFDG)'" + echo " -i identity: Developer or team name and id (in quotes)" + echo " e.g. 'TEAM NAME (XXXXXXXXXX)' or 'YOUR NAME (XXXXXXXXXX)'" echo " -s signmode: Codesign with --deep? One of (deep|shallow)" echo + echo " Example: RepeatForUpdatedBuild -q -t appstore -i 'TEAM NAME (XXXXXXXXXX)' -s deep" + echo exit 0 ;; q)