This library provides a way to decode a
.mobileprovision file into a Swift model.
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!
// 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)
Help us keep the lights on
2.0.1 - Nov 20, 2018
Added extra values to the Certificate model, notably reintroducing
commonName which was removed in the previous version.
2.0.0 - Nov 20, 2018
Added ability to independently parse
.cer x509 certificates with the values for validity dates.
parse(from: Data) throws -> Certificate
SecureCertificatein replacement of just
- No longer parsing
1.0.1 - Apr 14, 2018
Fix issue with app store and other iOS profiles without a list of provisioned devices
1.0.0 - Apr 13, 2018
Initial release with support for iOS provisioning profiles