Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   MacOS: https-download für AppStore-Kompilat (https://www.delphipraxis.net/202848-macos-https-download-fuer-appstore-kompilat.html)

philipp.hofmann 13. Dez 2019 21:59

MacOS: https-download für AppStore-Kompilat
 
Hi,

wenn ich meine für den AppStore kompiliere, funktionieren die im Programm aufrufbaren Downloads nicht mehr, weil die Adresse nicht aufgelöst werden kann, z.B. wirft TIDHTTP für den https-Zugriff auf www.ictrainer.com und ictrainer.de die Fehlermeldung "Fehler beim Auflösen der Adresse www.ictrainer.com: nodename nor servname provided, or not known (8)"

Kann man dies irgendwie vermeiden?

Auch Bluetooth scheint in der Sandbox deaktiviert zu sein, was meine Tests einschränkt.

Grüße, Philipp

philipp.hofmann 14. Dez 2019 07:49

AW: MacOS: BLE aktivieren für AppStore-Kompilat
 
Man muss in der Berechtigungsliste ausgehende Netzwerk-Socket Verbindung zulassen. Dann geht auch der Download. Nur Bluetooth funktioniert noch nicht.

philipp.hofmann 14. Dez 2019 21:39

AW: MacOS: https-download für AppStore-Kompilat
 
Ein Teil der Entitlements wird in der IDE eingegeben, einen Teil muss man manuell in Entitlement.TemplateOSX.xml eintragen, so z.B. die Bluetooth-Berechtigung:

Code:
<?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>
    <%appSandboxKeys%>
    <key>com.apple.security.device.bluetooth</key>
    <true/>
</dict>
</plist>

Rollo62 15. Dez 2019 09:43

AW: MacOS: https-download für AppStore-Kompilat
 
Dankesehr für die Info.
Ich beschäftige mich hauptsächlich mit Mobile, gut zu wissen das Macos natürlich mal wieder noch eine neue Herausforerung ist :(


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:17 Uhr.

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