REQUIREMENTS: 1. You need to get the release-signing.properties file from Nate Kranendonk, Treg Anderson or the mac mini build server. This file contains the keystore password so it will not be added to the repo. 2. You need the ageloc.jks keystore to sign builds with. We also do not provide this keystore. Anyone with this keystore and password could create fake Nu Skin apps. 3. Put the release-signing.properties in the same folder you run the script from. run releaseBuild.sh directly from the folder it exists in. You can copy the release builds to a new folder or keep it where it is. In order to run this script you will need the ageloc.jks to sign the builds with. You will also need the release-signing.properties file provided. releaseBuild.sh will pull code from the agelocme git repo. It will create a directory for each agelocme market. The script will take a long time since it runs npm install and jspm install for each market build. It will build all android prod builds and push the builds to hockey app. It will build the iOS prod builds but they need to be opened in xcode to upload to testflight. Then you must set the deployment target, landscape left and right, and hide status bar. Then you must go to the build settings tab and type code sign in the filter and select the iphone distribution: Nu Skin Enterprises (SG52PN9UPK) for all code signing options Then type bitcode in the search field. Set enable bitcode to no. Then you must change the iphone 6 build target to generic ios device. Then select Product > Archive Then in the organizer window click the blue upload to app store button. Then log into iTunes connect. And select the build to test in testflight.