We see some errors today when trying to install a profile.
Domain : MCInstallationErrorDomain
Code : 4001
Type : MCFatalError
US Sugg: The UUID for the profile “Application Management Profile” is not unique.
If they refere to PayloadUUID it is always different. Do you see the same issue?
In my opinion the error comes exactly because there’s already a payload with that PayloadUUID installed. Did you try removing this profile and reinstalling it?
It happens if the profile fail to install once. It seems the phone never erase the profile completely. When you try to reinstall it you will see a message The UUID for the profile “Application Management Profile” is not unique.
I had to completely wipe the device (erase settings and data) to be able to enroll again and don’t see the message.
I see. Do you not generate a new PayloadUUID on every profile install operation? I think it should be unique per installation operation and not just per profile.
We do generate a unique PayloadUUID. I am wondering if Apple does properly cleaning the failing profile.
When we install the profile, at the last step of install we see a system pop-up saying “Couldn’t communicate with a helper application”. We close the setting window by swapping. We are then able to install applications and list managed applications even if their not profile listed in iOS settings.
First we are not able to understand “Couldn’t communicate with a helper application”, second it seems their is a dirty profile that we cannot see and delete in iOS settings.
Errors we see in console log when doing the install of the profile:
default 14:59:46.784522 +0200 Preferences Install profile data, interactive error. Error: NSError:
Desc : Couldn’t communicate with a helper application.
Sugg : Try your operation again. If that fails, quit and relaunch the application and try again.
Domain : NSCocoaErrorDomain
Code : 4097
Extra info:
{
NSDebugDescription = "connection to service named com.apple.managedconfiguration.profiled";
}
Not sure what you mean by configuration profiles to install an app?
Afaik remote application installs require InstallApplication command issued to them there is no reference in configuration profile for app installation. InstallApplication directs the device to either pull an app from App Store or download a Manifest file (https://help.apple.com/deployment/ios/#/apda0e3426d7) that has instructions on the app installation (in-house apps).
If you’re devices are MDM enrolled you can issue commands “ProfileList” and “ProvisioningProfileList” to retrieve a list of profiles installed and their UUID’s
How are you installing the profiles (via a webserver/apple configurator)? Which MDM solution are you using?