GithubHelp home page GithubHelp logo

sherlouk / swiftprovisioningprofile Goto Github PK

View Code? Open in Web Editor NEW
63.0 2.0 6.0 16 KB

Parse iOS mobile provisioning files into Swift models

License: MIT License

Swift 100.00%
provisioning-profiles swift swift-package-manager codable

swiftprovisioningprofile's Introduction

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)

swiftprovisioningprofile's People

Contributors

sherlouk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

swiftprovisioningprofile's Issues

Upload Test Profile

Because of Apple's security it's not as easy as editing an existing profile with dummy data, but would like to get my hands on (some how) a test provisioning profile which can be used in tests

Update README

  • Add a logo
  • Add more usage information about what information is available
  • Add scope information
  • Make it look like it didn't take 2 seconds ๐Ÿคทโ€โ™‚๏ธ

Parse `Entitlements`

Dictionary keyed with String, value can be anything.

Some values I've seen:
get-task-allow allows other processes to attach (such as the Xcode debugger) - Debug/Developer profiles Only
keychain-access-groups is an array of app identifiers (strings)
application-identifier
com.apple.developer.team-identifier
aps-environment

Plenty of others

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.