From 0f934f2b9e8aec2f48e54ac4c3025dd116686090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcelo=20Munhoz=20P=C3=A9los?= Date: Mon, 8 Jul 2013 19:26:41 -0300 Subject: [PATCH] Uncomments line from apple/script/build. --- apple/script/build | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apple/script/build b/apple/script/build index 9b28188f91..e65f85a422 100755 --- a/apple/script/build +++ b/apple/script/build @@ -6,20 +6,20 @@ set -e PROJECT_NAME="RetroArch_iOS.xcodeproj" -# xcodebuild clean -project $PROJECT_NAME -# rm -rf build +xcodebuild clean -project $PROJECT_NAME +rm -rf build if [ -z "$NOCODESIGN" ] ; then # Fetch the UUID of the provisioning profile and install the profile # https://github.com/sharpland/mobileprovisionParser # http://idevblog.info/mobileprovision-files-structure-and-reading/ - # PROVISION_UUID=`script/mobileprovisionParser -f "$PROVISIONING" -o UUID` - # cp "$PWD/$PROVISIONING" ~/Library/MobileDevice/Provisioning\ Profiles/"$PROVISION_UUID".mobileprovision + PROVISION_UUID=`script/mobileprovisionParser -f "$PROVISIONING" -o UUID` + cp "$PWD/$PROVISIONING" ~/Library/MobileDevice/Provisioning\ Profiles/"$PROVISION_UUID".mobileprovision - # xcodebuild -verbose -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="${CODE_SIGN_IDENTITY}" PROVISIONING_PROFILE="$PROVISION_UUID" -project $PROJECT_NAME + xcodebuild -verbose -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="${CODE_SIGN_IDENTITY}" PROVISIONING_PROFILE="$PROVISION_UUID" -project $PROJECT_NAME - # echo "CODESIGNING DYNAMIC LIBRARIES AND BUILDING IPA" - # codesign -fs "$CODE_SIGN_IDENTITY" $BUILD_PATH/RetroArch.app/modules/*.dylib + echo "CODESIGNING DYNAMIC LIBRARIES AND BUILDING IPA" + codesign -fs "$CODE_SIGN_IDENTITY" $BUILD_PATH/RetroArch.app/modules/*.dylib xcrun -sdk iphoneos PackageApplication "$BUILD_PATH/RetroArch.app" -o "$BUILD_PATH/RetroArch.ipa" --sign "$CODE_SIGN_IDENTITY" --embed "$BUILD_PATH/RetroArch.app/embedded.mobileprovision" else