https://github.com/albertyw/ios_config_profile
Gem for manipulating iOS Configuration Profiles
https://github.com/albertyw/ios_config_profile
apple apple-configuration-profiles configuration-profile ios mdm plist ruby
Last synced: 7 months ago
JSON representation
Gem for manipulating iOS Configuration Profiles
- Host: GitHub
- URL: https://github.com/albertyw/ios_config_profile
- Owner: albertyw
- License: agpl-3.0
- Created: 2015-04-06T02:28:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T07:28:34.000Z (over 4 years ago)
- Last Synced: 2025-03-18T18:01:25.361Z (7 months ago)
- Topics: apple, apple-configuration-profiles, configuration-profile, ios, mdm, plist, ruby
- Language: Ruby
- Homepage:
- Size: 115 KB
- Stars: 11
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# IOSConfigProfile
[](https://badge.fury.io/rb/ios_config_profile)
[](https://drone.albertyw.com/albertyw/ios_config_profile)
[](https://libraries.io/rubygems/ios_config_profile)
[](https://codeclimate.com/github/albertyw/ios_config_profile)
[](https://codeclimate.com/github/albertyw/ios_config_profile/coverage)
[](https://hakiri.io/github/albertyw/ios_config_profile/master)Gem for creating and manipulating Apple Configuration Profiles and Mobile
Device Management (MDM) Protocols## Installation
Add this to your Gemfile
```ruby
gem 'ios-cert-enrollment', git: 'https://github.com/albertyw/ios-cert-enrollment'
gem 'ios_config_profile'
```This gem requires IOSCertEnrollment. The [rubygems version](https://rubygems.org/gems/ios-cert-enrollment) works
but it is highly recommended to use an [updated version](https://github.com/albertyw/ios-cert-enrollment).## 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:```ruby
payload = IOSConfigProfile::InstallBookPayload.new '12345'
payload = payload.to_command_payload
```## Development
To run tests - `bundle exec rspec`