How do I prevent prompts to update to iOS 10

I've got an iPhone 6 that I would like to keep running iOS9 for the purpose of testing iOS applications. Is there any way to prevent the prompts to install iOS10?


Solution 1:

Short answer, No.
Apple really, really, really wants you to upgrade.

Longer answer...
You'd need to be able to block the domains

appldnld.apple.com
mesu.apple.com

on every WiFi access point you meet.

Solution 2:

From this article:

iPhone checks whether an update is available through a special XML document at mesu.apple.com. This configuration profile redirects the check to only look for beta updates available for the Apple TV. Since your iPhone is not an Apple TV, the redirected catalog check will make your device “believe” iOS is up-to-date.

The configuration profile is cryptographically signed by Apple (in fact, configuration profile that redirects OTA update catalog through “Internal Settings” will fail to install if it is not), therefore, can be trusted. Other than adding a “Feedback” icon that you can dump into any folder at any time, this configuration profile does not negatively affect your iPhone’s performance or battery life. Don’t worry. It is not possible for your phone to suddenly install tvOS.

Alternatively, you can also block “mesu.apple.com” through your router settings. However, as you connect your devices to Wi-Fi hotspots that you do not have control of, this would be rendered ineffective.

The profile is available here.

You should carefully consider the security implications of downloading and installing a profile from the Internet, but you should also be able to open that profile and inspect its contents before proceeding.

Solution 3:

if you are using a proxy.pac file for your internet connection you can easily block appldnld.apple.com and mesu.apple.com. You could use something like this:

function FindProxyForURL(url, host) {

if (host =="mesu.apple.com") return "PROXY 127.0.0.1:8080";
if (host =="appldnld.apple.com") return "PROXY 127.0.0.1:8080";
else return "DIRECT"; }

That also mean you need a publicly available web server to host the .pac file