Comment on iOS 17 - gethostname() Did you try to apply for com.apple.developer.device-information.user-assigned-device-name entitlement? I presume it may grant you access to the hostname. App & System Services Core OS Aug ’23