libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ misagent_copy_all()

misagent_error_t misagent_copy_all ( misagent_client_t  client,
plist_t *  profiles 
)

Retrieves all installed provisioning profiles (iOS 9.3 or higher).

Parameters
clientThe connected misagent to use.
profilesPointer to a plist_t that will be set to a PLIST_ARRAY if the function is successful.
Returns
MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when client is invalid, or an MISAGENT_E_* error code otherwise.
Note
This API call only works with iOS 9.3 or higher. For older iOS versions use misagent_copy() instead.
If no provisioning profiles are installed on the device, this function still returns MISAGENT_E_SUCCESS and profiles will just point to an empty array.