albertyw / ios_config_profile

Gem for manipulating iOS Configuration Profiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Gem for manipulating iOS Configuration Profiles

License:GNU Affero General Public License v3.0


Languages

Language:Ruby 100.0%