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.
This commit is contained in:
Marco Antognini 2017-02-20 17:58:51 +01:00
parent e4ae4f9cc3
commit 40ae477cc3
7 changed files with 28 additions and 14 deletions

View File

@ -16,5 +16,7 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict> </dict>
</plist> </plist>

View File

@ -16,5 +16,7 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict> </dict>
</plist> </plist>

View File

@ -2,19 +2,21 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>freetype</string> <string>freetype</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.sfml-dev.freetype</string> <string>org.sfml-dev.freetype</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict> </dict>
</plist> </plist>

View File

@ -16,5 +16,7 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict> </dict>
</plist> </plist>

View File

@ -16,5 +16,7 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict> </dict>
</plist> </plist>

View File

@ -16,5 +16,7 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict> </dict>
</plist> </plist>

View File

@ -16,5 +16,7 @@
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict> </dict>
</plist> </plist>