Einzelnen Beitrag anzeigen

philipp.hofmann

Registriert seit: 21. Mär 2012
Ort: Hannover
859 Beiträge
 
Delphi 10.4 Sydney
 
#1

MacOS: URL für https erlauben (info.plist)

  Alt 29. Sep 2019, 09:55
Hi,

ich muss zur Nutzung der FMX-OpenStreetMap-Implementierung von TMSSoftware folgende URL für http erlauben: openstreetmap.org

Dies habe ich gemacht in dem ich in info.plist.TemplateOSX.xml ab Zeile 8 (unterhalb des ersten <dict> Blockes die URL erlaube:

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%>
</dict>
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>openstreetmap.org</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSExceptionAllowsInsecureHTTPLoads</key>
            <true/>
            <key>NSExceptionRequiresForwardSecrecy</key>
            <true/>
            <key>NSExceptionMinimumTLSVersion</key>
            <string>TLSv1.2</string>
            <key>NSThirdPartyExceptionAllowsInsecureHTTPLoads</key>
            <false/>
            <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
            <true/>
            <key>NSThirdPartyExceptionMinimumTLSVersion</key>
            <string>TLSv1.2</string>
            <key>NSRequiresCertificateTransparency</key>
            <false/>
        </dict>
    </dict>
</dict>
</plist>
Damit geht es im Normal-Modus. Wenn ich für den Anwendungsstore kompilieren will, bekomme ich folgende Fehlermeldung:

[PAClient Fehler] Fehler: E0264 /Users/philipp/PAServer/scratch-dir/phili-MacPhil2018sAir/icTrainer.app/Contents/Info.plist: Property List error: Encountered unexpected element at line 43 (plist can only include one object) / JSON error: JSON text did not start with array or object and option to allow fragments not set.

Was machte ich falsch? Ich habe schon ein paar Varianten ausprobiert, aber ohne Erfolg. Wie muss ich info.plist.TemplateOSX.xml korrekt befüllen?

Grüße, Philipp
  Mit Zitat antworten Zitat