Created
July 25, 2017 22:05
-
-
Save dilmerv/e0fa8be3455711b733970d4d39c4996f to your computer and use it in GitHub Desktop.
Build.sh for MAC
This file contains hidden or 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 ./Cubiques.app/Contents/ | |
echo "Copying plist template..." | |
cp ./Info.plist ./Cubiques.app/Contents/ | |
echo "Starting Signing..." | |
codesign -f --deep -s "3rd Party Mac Developer Application: Dilmer Valecillos" --entitlements "./Cubiques.entitlements" ./Cubiques.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: Dilmer Valecillos" --entitlements "./Cubiques.entitlements" ./Cubiques.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: Dilmer Valecillos" --entitlements Cubiques.entitlements ./Cubiques.app | |
echo "Done Signing..." | |
echo "Packaging game..." | |
productbuild --component ./Cubiques.app "/Applications" --sign "3rd Party Mac Developer Installer: Dilmer Valecillos" "Cubiques.pkg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment