Installing .mobileconfig Locally From App
Mobileconfig files are an incredibly useful way of manging devices (iOS and Mac) en masse - configuring email accounts, VPN settings and much more, however there are some other interesting (and more novel) uses.
Over two years ago I first thought about using them to configure connecting to our school WiFi, which is both password protected and uses a proxy. I wrote a simple PHP script where you enter your school account’s username and password (for proxy authentication) and it generates a profile which is then downloaded and installed. However in order to do this, you need an internet connection - something the user won’t have, so you end up in a ‘Catch 22’ situation.
Recently as I have been preparing to update the app I developed for the school over 5 years ago, it occured to me that if I could build in profile generation this would be a really nice touch. I also decided to include...