libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ misagent_install()

misagent_error_t misagent_install ( misagent_client_t  client,
plist_t  profile 
)

Installs the given provisioning profile.

Only works with valid profiles.

Parameters
clientThe connected misagent to use for installation
profileThe valid provisioning profile to install. This has to be passed as a PLIST_DATA, otherwise the function will fail.
Returns
MISAGENT_E_SUCCESS on success, MISAGENT_E_INVALID_ARG when client is invalid, or an MISAGENT_E_* error code otherwise.