Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I programatically check ‘iPhone Device Configuration profile’ is installed or not on device

Is there way to verify whether a particular device configuration profile is installed or not on iPhone through an iOS application? I have an iOS application which is distributed via ‘enterprise distribution’ mode and I have created a device configuration profile (generated using iPCU) where I have disabled some of device features i.e. screen capture.

As per current process I am sending device configuration profiles with email, and the recipient has to install it from the email they receive. Since it is a manual process some people are installing the app without installing the device configuration profile.

I would like to restrict this, so that if a user has not installed the profile, then s/he should not be able to run my application.

like image 278
Suresh Avatar asked Feb 07 '14 05:02

Suresh


People also ask

How do I find my configuration profile on my iPhone?

You can see the profiles you have installed in Settings > General > Profiles & Device Management. If you delete a profile, all of the settings, apps, and data associated with the profile are also deleted.

Where are MDM profiles stored on iPhone?

You can see the profiles you have installed in Settings > General > VPN & Device Management.

What is iPhone configuration profile?

In iOS and macOS, configuration profiles are XML files that contain settings to manage Wi-Fi, email accounts, passcode options, and many other functions of iPhone, iPod touch, iPad, and Mac devices. To use them, you must have either iOS 4 or later or macOS.


1 Answers

it is not possible to read profile file. but this below link is clear more your doubt

Programatically check if there is a configuration profile installed or not on an iPhone

Retrieving data programmatically from a Configuration Profile in IOS

iOS - Prevent iPhone Configuration Profile from being deleted OR check to see if it's installed

Installing a configuration profile on iPhone - programmatically

like image 97
codercat Avatar answered Oct 19 '22 21:10

codercat