ios_config_profile

Generate Apple iOS configuration profiles and payloads


Keywords
apple, apple-configuration-profiles, configuration-profile, ios, mdm, plist, ruby
License
AGPL-3.0
Install
gem install ios_config_profile -v 1.4.1

Documentation

IOSConfigProfile

Gem Version Build Status Dependency Status Code Climate Test Coverage security

Gem for creating and manipulating Apple Configuration Profiles and Mobile Device Management (MDM) Protocols

Installation

Add this to your Gemfile

gem 'ios-cert-enrollment', git: 'https://github.com/albertyw/ios-cert-enrollment'
gem 'ios_config_profile'

This gem requires IOSCertEnrollment. The rubygems version works but it is highly recommended to use an updated version.

Usage

Apple Configuration Profiles are Property List (plist) files a type of XML file. The plist gem converts hashes into plist files.

For a given configuration profile, you can initialize the class and export it into a plist string. For example:

payload = IOSConfigProfile::InstallBookPayload.new '12345'
payload = payload.to_command_payload

Development

To run tests - bundle exec rspec