Swift Package Index


Parse iOS mobile provisioning files into Swift models


  • The latest stable release is 2.0.1. Released 2 years ago.
  • The last commit to master was 2 years ago.

Swift Version Compatibility

  • 2.0.1 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 2.0.1 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

SwiftyProvisioningProfile

This library provides a way to decode a .mobileprovision file into a Swift model.

Installation

The recommended installation is via Swift Package Manager, you'll want to update your Package.swift with a new dependency:

import PackageDescription

let package = Package(
    name: "YourAwesomeSoftware",
    dependencies: [
        .package(url: "https://github.com/Sherlouk/SwiftProvisioningProfile.git", from: "1.0.0")
    ]
)

There are open issues to handle CocoaPods and Carthage installation, if people want it then I'm willing to support it!

Usage

// 1. Import the library
import SwiftyProvisioningProfile

// 2. Load your provisioning profile's file data
let profileData = try Data(contentsOf: ...)

// 3. Parse it
let profile = try ProvisioningProfile.parse(from: profileData)

// 4. Use it
print(profile.uuid)