Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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