There is a problem with the Apple local network setting api, iOS18 system, you turn off the local network permissions of the APP, uninstall the APP, and then re-install, the local network permissions even if opened, there is no effect, only restart the phone is useful
iOS 18 local network permission is incorrect
Are you building an app for iOS? If so, does this problem affect just your app? Or all apps on this particular device?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
We are affected by this issue as well. Our customers have been reporting this and we were able to reproduce it with our app on multiple devices. After removing and installing the app again (from both AppStore and TestFlight) we don't see a prompt for local network access or a toggle button in the settings. Reboot doesn't help. Debug version built locally on my machine and deployed via cable does request local network access.
we are seeing the same issue as anpin, a fresh install of the app does not prompt for local network access when we make the connection attempt. seems to be happening on ios 18 and with the builds from xcode 16. our previous build from xcode 15 did not show the same problem.
we found a fix/workaround for our specific manifestation of the issue. in info.plist if we set the NSLocalNetworkUsageDescription key, this allows the permission prompt to show.
Hey all, just wanted to +1 this thread, we have recently implemented an ethernet connection and find that if the user denies Local Network permission, "everything fails" and the device must be rebooted for any changes to get recognized. We also see "Network is Down" POSIX error fire, and the issues persist through app deletions and re-installations.
We have iPhone 15's we're testing with, and we compared them to see if there's any differences - there doesn't seem to be. Same OS, same model iPhone, same app build, bug only presents on some phones and not others, seemingly by random.
We have two applications that use the exact code to manage the networking, and one app presents this issue consistently, while the other does not at all.
We are having this issue with builds from Xcode 15 and Xcode 16, so I don't know that it's Xcode-specific.
Starting to wonder if this is an issue in iOS 18.X.