diff --git a/OdessaMacGUIApp/OdessaMacGUIApp.xcodeproj/project.pbxproj b/OdessaMacGUIApp/OdessaMacGUIApp.xcodeproj/project.pbxproj index 7e16b0b..3dbd62d 100644 --- a/OdessaMacGUIApp/OdessaMacGUIApp.xcodeproj/project.pbxproj +++ b/OdessaMacGUIApp/OdessaMacGUIApp.xcodeproj/project.pbxproj @@ -995,7 +995,6 @@ CE4D99C4160908B900739B1E /* PhFacebook.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = PhFacebook.xcodeproj; sourceTree = ""; }; CE4E8BCE162CC55700C6054E /* ffmpeg.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = ffmpeg.entitlements; sourceTree = ""; }; CE4E8BD3162CC8BD00C6054E /* mediainfo.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = mediainfo.entitlements; sourceTree = ""; }; - CE4E8BD9162CCE1C00C6054E /* codesign-frameworks.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "codesign-frameworks.sh"; sourceTree = ""; }; CE571EE21609686A00491E67 /* SBJson.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = SBJson.xcodeproj; sourceTree = ""; }; CE571EF9160996DF00491E67 /* JFUrlUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JFUrlUtil.h; sourceTree = ""; }; CE571EFA160996DF00491E67 /* JFUrlUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JFUrlUtil.m; sourceTree = ""; }; @@ -1596,7 +1595,6 @@ 8F614094142530CC002C52F4 = { isa = PBXGroup; children = ( - CE4E8BD9162CCE1C00C6054E /* codesign-frameworks.sh */, CED45B791540E4B4002D21C0 /* ffmpeg */, CE4E8BCE162CC55700C6054E /* ffmpeg.entitlements */, 8F6140A2142530CD002C52F4 /* Frameworks */, @@ -2551,7 +2549,6 @@ CE182ECD15E7E8BC00E0DD82 /* Increment build number */, CED45C551541210F002D21C0 /* Resources */, CED45C731541210F002D21C0 /* Copy Frameworks */, - CE4E8BD8162CCCDD00C6054E /* Code sign embedded frameworks */, ); buildRules = ( ); @@ -2572,7 +2569,6 @@ CE182ECC15E7E86400E0DD82 /* Increment build number */, CEF8C621153E350900F4E55A /* Resources */, CEF8C641153E350900F4E55A /* Copy Frameworks */, - CE4E8BDA162CD8F400C6054E /* Code sign embedded frameworks */, ); buildRules = ( ); @@ -3037,34 +3033,6 @@ shellPath = /bin/sh; shellScript = "#!/bin/bash\nbuildNumber=$(/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" \"$INFOPLIST_FILE\")\nbuildNumber=$(($buildNumber + 1))\n# Disabled now that we're open source as it causes annoying merge conflicts\n# /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"$INFOPLIST_FILE\""; }; - CE4E8BD8162CCCDD00C6054E /* Code sign embedded frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Code sign embedded frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh ./codesign-frameworks.sh"; - }; - CE4E8BDA162CD8F400C6054E /* Code sign embedded frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Code sign embedded frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh ./codesign-frameworks.sh"; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/OdessaMacGUIApp/codesign-frameworks.sh b/OdessaMacGUIApp/codesign-frameworks.sh deleted file mode 100644 index d5f946e..0000000 --- a/OdessaMacGUIApp/codesign-frameworks.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -# WARNING: You may have to run Clean in Xcode after changing CODE_SIGN_IDENTITY! - -# Verify that $CODE_SIGN_IDENTITY is set -if [ -z "$CODE_SIGN_IDENTITY" ]; then -echo "CODE_SIGN_IDENTITY needs to be non-empty for codesigning frameworks!" - -if [ "$CONFIGURATION" = "Release" ]; then -exit 1 -else -# Codesigning is optional for non-release builds. -exit 0 -fi -fi - -echo "note: Running script" - -# FFMPEG -#echo "note: codesign -v --entitlements '${SRCROOT}/ffmpeg.entitlements' '${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Resources/ffmpeg'" # -f -s '${CODE_SIGN_IDENTITY}' -codesign -s "${CODE_SIGN_IDENTITY}" --entitlements "${SRCROOT}/ffmpeg.entitlements" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Resources/ffmpeg" -codesign --display --entitlements - "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Resources/ffmpeg" - -# MEDIAINFO -#echo "note: codesign -v --entitlements '${SRCROOT}/mediainfo.entitlements' '${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Resources/mediainfo'" # -f -s '${CODE_SIGN_IDENTITY}' -codesign -s "${CODE_SIGN_IDENTITY}" --entitlements "${SRCROOT}/mediainfo.entitlements" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Resources/mediainfo" -codesign --display --entitlements - "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Resources/mediainfo" - - - - -# Can't get frameworks to sign. Let's leave this alone until Apple complains about it. - -#FRAMEWORK_DIR="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/" - -#echo "note: Framework_DIR = ${FRAMEWORK_DIR}" -# see http://developer.apple.com/library/mac/#technotes/tn2206/_index.html -#codesign -f -v -s "${CODE_SIGN_IDENTITY}" "${FRAMEWORK_DIR}ASIHTTPRequest.framework/Versions/A" -#codesign -f -v -s "${CODE_SIGN_IDENTITY}" "${FRAMEWORK_DIR}FeedbackReporter.framework/Versions/A" -#codesign -f -v -s "${CODE_SIGN_IDENTITY}" "${FRAMEWORK_DIR}PhFacebook.framework/Versions/A" -#codesign -f -v -s "${CODE_SIGN_IDENTITY}" "${FRAMEWORK_DIR}SBJson.framework/Versions/A" - - - -# This doesn't work because FRAMEWORK_DIR has a space in it -# Loop through all frameworks -#for FRAMEWORK in $(find "${FRAMEWORK_DIR}" -maxdepth 1 -type d -name "*.framework" ); -#do -#echo "note: ${FRAMEWORK}" -#echo "note: codesign -f -v -s '${CODE_SIGN_IDENTITY}' '${FRAMEWORK}/Versions/A'" -#codesign -f -v -s "${CODE_SIGN_IDENTITY}" "${FRAMEWORK}/Versions/A" -#done \ No newline at end of file