Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   MacOS: LSMinimumSystemVersion in info.plist- doppelt vorhanden (https://www.delphipraxis.net/212822-macos-lsminimumsystemversion-info-plist-doppelt-vorhanden.html)

philipp.hofmann 6. Apr 2023 23:42


MacOS: LSMinimumSystemVersion in info.plist- doppelt vorhanden
 
Hi,

weiß jemand warum der folgende String zweimal in der info.plist-Datei auftaucht?

<key>LSMinimumSystemVersion</key>
<string>10.11.0</string>
....
<key>LSMinimumSystemVersion</key>
<string>10.9</string>

Die erste Info, habe ich so in der IDE für das Projekt in den Version-Infos konfiguriert, aber diese wird dann fleißig überschrieben.
info.plist.TemplateOSX.xml sieht soweit korrekt aus:

Delphi-Quellcode:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<%VersionInfoPListKeys%>
<%ExtraInfoPListKeys%>
    <key>NSAppTransportSecurity</key>
   <dict>
       <key>NSAllowsArbitraryLoads</key>
        <true/>
      <key>NSExceptionDomains</key>
      <dict>
         <key>openstreetmap.org</key>
         <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSExceptionAllowsInsecureHTTPLoads</key>
            <false/>
            <key>NSExceptionRequiresForwardSecrecy</key>
            <true/>
            <key>NSExceptionMinimumTLSVersion</key>
            <string>TLSv1.2</string>
            <key>NSThirdPartyExceptionAllowsInsecureHTTPLoads</key>
            <true/>
            <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
            <true/>
            <key>NSThirdPartyExceptionMinimumTLSVersion</key>
            <string>TLSv1.2</string>
            <key>NSRequiresCertificateTransparency</key>
            <false/>
         </dict>
      </dict>
   </dict>
</dict>
</plist>
Grüße, Philipp

philipp.hofmann 7. Apr 2023 21:31

AW: MacOS: LSMinimumSystemVersion in info.plist- doppelt vorhanden
 
EMBT hat schon geantwortet, damit kann ich mein Problem lösen:

You can set Minimum macOS version supported in Project>Options>Delphi compiler>Linking. Don't forget to remove LSMinimumSystemVersion key from version info view. Let me know if it will solve your issue.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:23 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz