Swiftpack.co - Package - telekom/cgjprofile


Command Line Tool 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!


This is a Swift Package Manager project. To build, simply execute swift build -c release. To create an Xcode project for debugging, execute swift package generate-xcodeproj.

For more information, see the Package Manager documentation


Once built, the tool can be invoked like this:

cgjprofile [--format="format string"] [--warn-expiration days] [--quiet] [path]

The Format String

The format string takes c-style placeholders:

  • %e ExpirationDate
  • %c CreationDate
  • %u UUID
  • %a AppIDName
  • %t TeamName
  • %n Name

Minimum width specifiers can be used, such as "%40u", adding spaces until the minimum length is met.

If no format string is provided, the default is "%u %t %n"

Expiration Warning

If provided, a warning will be given if the profile will expire in the given number of days


What you expect it would do. No output other than errors and the return value


If provided, the path to the profile to be checked. Otherwise, all installed profiles are checked.

Return Value

  • 0 on success
  • 1 if any profile was invalid


Stars: 8
Help us keep the lights on

Used By

Total: 1


v1.0.5 - Mar 27, 2019

This version can be built using the Swift 5 Package Manger

v1.0 - Mar 27, 2019

The first version of the cgjprofile tool