JSPM

xcode-devteams

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q38928F
  • License MIT

CLI for information about Xcode Developer Teams

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xcode-devteams) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    xcode-devteams

    NPM package

    CLI for information about Xcode developer teams

    Install

    npm install xcode-devteams

    Usage

    xcode-devteams

    Running this command will print a JSON list containing information about available Xcode developer teams, e.g.:

    [
      {
        "name": "Developer ID Application: Some Name (DIA8J8D8U)",
        "organization": "Some Name",
        "organizationalUnit": "DIA8J8D8U"
      },
      {
        "name": "Developer ID Application: Some Name (DIA8J8D8U)",
        "organization": "Some Name",
        "organizationalUnit": "DIA8J8D8U"
      },
      {
        "name": "iPhone Developer: Company, Inc. (58TD4L8GC)",
        "organization": "Company, Inc.",
        "organizationalUnit": "R62GJQ0H9"
      },
      {
        "name": "iPhone Distribution: Company, Inc. (R62GJQ0H9)",
        "organization": "Company, Inc.",
        "organizationalUnit": "R62GJQ0H9"
      },
      {
        "name": "Apple Development: Some Name (D952RHZGK9)",
        "organization": "Some Name",
        "organizationalUnit": "DIA8J8D8U"
      },
      {
        "name": "Apple Development: Some Name (WFNSRXRC5)",
        "organization": "Company, Inc.",
        "organizationalUnit": "R62GJQ0H9"
      }
    ]

    The JSON can be consumed by other programs that might use it to generate Xcode projects or other things.

    Building from source

    Requires macOS with cmake and Xcode Command Line Tools

    This is a native Objective-C program that must be compiled after making changes. Run the following command to do this:

    npm run build

    It is possible to generate a project that can be opened in Xcode using this command:

    rm -f CMakeCache.txt && cmake -GXcode .

    History

    This functionality was originally written in C# and used as a class inside the Uno compiler. While upgrading the Uno code base to .NET 6.0 it became difficult to keep the functionality because of very large dependencies required to access macOS APIs on .NET, so we ended up building a tiny executable written in Objective-C instead :-)

    Source: DevelopmentTeam.cs

    License

    MIT