From 40ae477cc3db3671d43a7cd28be961b9f732a56b Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Mon, 20 Feb 2017 17:58:51 +0100 Subject: [PATCH] Added CFBundleSupportedPlatforms key-value This should improve the signing process of Mac Applications. This improves the frameworks of external dependencies used by SFML. To patch sfml-*.framework, one would need to customised the `MACOSX_FRAMEWORK_INFO_PLIST` cmake property and provide a custom Info.plist file with CFBundleSupportedPlatforms property set. See https://cmake.org/cmake/help/latest/prop_tgt/FRAMEWORK.html This is however not required (probably) if one used dylibs instead. Related to #1020 and #1036. Credits go to @kipbits. --- .../Versions/A/Resources/Info.plist | 2 ++ .../Versions/A/Resources/Info.plist | 2 ++ .../Versions/A/Resources/Info.plist | 30 ++++++++++--------- .../Versions/A/Resources/Info.plist | 2 ++ .../Versions/A/Resources/Info.plist | 2 ++ .../Versions/A/Resources/Info.plist | 2 ++ .../Versions/A/Resources/Info.plist | 2 ++ 7 files changed, 28 insertions(+), 14 deletions(-) diff --git a/extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist b/extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist index 36f80bd9d..17506ffed 100644 --- a/extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist +++ b/extlibs/libs-osx/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist @@ -16,5 +16,7 @@ ???? CFBundleVersion 1.0 + CFBundleSupportedPlatforms + MacOSX diff --git a/extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist b/extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist index 9d630276a..abcc123b4 100644 --- a/extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist +++ b/extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist @@ -16,5 +16,7 @@ ???? CFBundleVersion 1.0 + CFBundleSupportedPlatforms + MacOSX diff --git a/extlibs/libs-osx/Frameworks/freetype.framework/Versions/A/Resources/Info.plist b/extlibs/libs-osx/Frameworks/freetype.framework/Versions/A/Resources/Info.plist index f7f42180b..3fae0b28a 100644 --- a/extlibs/libs-osx/Frameworks/freetype.framework/Versions/A/Resources/Info.plist +++ b/extlibs/libs-osx/Frameworks/freetype.framework/Versions/A/Resources/Info.plist @@ -2,19 +2,21 @@ - CFBundleDevelopmentRegion - English - CFBundleExecutable - freetype - CFBundleIdentifier - org.sfml-dev.freetype - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - FMWK - CFBundleSignature - ???? - CFBundleVersion - 1.0 + CFBundleDevelopmentRegion + English + CFBundleExecutable + freetype + CFBundleIdentifier + org.sfml-dev.freetype + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + CFBundleSupportedPlatforms + MacOSX diff --git a/extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/Resources/Info.plist b/extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/Resources/Info.plist index ed6050c2e..3b7fe8cdc 100644 --- a/extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/Resources/Info.plist +++ b/extlibs/libs-osx/Frameworks/ogg.framework/Versions/A/Resources/Info.plist @@ -16,5 +16,7 @@ ???? CFBundleVersion 1.0 + CFBundleSupportedPlatforms + MacOSX diff --git a/extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist b/extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist index 7f0d07127..49288dcc2 100644 --- a/extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist +++ b/extlibs/libs-osx/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist @@ -16,5 +16,7 @@ ???? CFBundleVersion 1.0 + CFBundleSupportedPlatforms + MacOSX diff --git a/extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist b/extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist index 71765e182..7239ec07e 100644 --- a/extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist +++ b/extlibs/libs-osx/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist @@ -16,5 +16,7 @@ ???? CFBundleVersion 1.0 + CFBundleSupportedPlatforms + MacOSX diff --git a/extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist b/extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist index 50b71edca..02c18c590 100644 --- a/extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist +++ b/extlibs/libs-osx/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist @@ -16,5 +16,7 @@ ???? CFBundleVersion 1.0 + CFBundleSupportedPlatforms + MacOSX