Swiftpack.co - tcurdt/TCMobileProvision as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tcurdt.
tcurdt/TCMobileProvision 1.0.0
Accessing the embedded provisioning profile from iOS apps
⭐️ 37
🕓 2 years ago
.package(url: "https://github.com/tcurdt/TCMobileProvision.git", from: "1.0.0")

This is a little library to access the embedded provisioning profile in iOS apps.

NSString *mobileprovisionPath = [[[NSBundle mainBundle] bundlePath]

TCMobileProvision *mobileprovision = [[TCMobileProvision alloc] initWithData:
    [NSData dataWithContentsOfFile:mobileprovisionPath]];

NSString *profileId = mobileprovision.dict[@"UUID"] ?: @"simulator";

The code is released under the Apache License 2.0.


Stars: 37
Last commit: 4 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics