https://github.com/below/cgjprofilelib
The cgjprofile Library
https://github.com/below/cgjprofilelib
cryptography provisioning-profiles swift swift-package-manager
Last synced: 9 months ago
JSON representation
The cgjprofile Library
- Host: GitHub
- URL: https://github.com/below/cgjprofilelib
- Owner: below
- License: mit
- Created: 2019-07-03T21:40:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T11:42:49.000Z (over 6 years ago)
- Last Synced: 2025-03-21T05:43:57.549Z (about 1 year ago)
- Topics: cryptography, provisioning-profiles, swift, swift-package-manager
- Language: Swift
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# cgjprofileLib
A Swift Pacakge for macOS to analyse the validity of mobile provision files and the corresponding certificates. The software is well suited to be used in automated setups.
Let me know if this is useful, I am looking forward to your comments!
## Building
This is a Swift Package Manager project. To build, simply execute `swift build -c release`. To create an Xcode project for Xcode 10, execute `swift package generate-xcodeproj`. With Xcode 11 or later, you can simply open the `Package.swift`
For more information, see the [Package Manager documentation](https://swift.org/package-manager/)
## Usage
The library has three main components:
* `class Mobileprovision`
This class encapsulates a mobile provisioning profile. Typically, you will want to instantiate it using ` init?(url: URL)` or `init?(data: Data)`.
* `class PrettyProvision`
A subclass of for `Mobileprovision` to allow pretty-printing the profile
* `class CgjProfileCore`
This class offers `func analyzeMobileProfiles` to analyze and print profiles