Created
March 29, 2017 05:21
-
-
Save dilmerv/ba0706b87345ea2619840dfa6dd5a8b0 to your computer and use it in GitHub Desktop.
MAC_Build_Sign_Game.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Copying provisioning profile..." | |
cp ./embedded.provisionprofile ./YourGameName.app/Contents/ | |
echo "Starting Signing..." | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements "./YourGameName.entitlements" ./YourGameName.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements "./YourGameName.entitlements" ./YourGameName.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements YourGameName.entitlements "./YourGameName.app/" | |
echo "Done Signing..." | |
echo "Packaging game..." | |
productbuild --component "./YourGameName.app" "/Applications" --sign "3rd Party Mac Developer Installer: [Your Name]" YourGameName.pkg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment