Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-16936

Provide option to select development team used for signing

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.3.0-beta1
    • Qt Creator 4.1.0
    • iOS Support
    • None

    Description

      Provide a combo box somewhere in the build settings for selecting the development team that is used for signing the application.

      The available teams can be found with

      static QList<QVariantMap> provisioningTeams()
      {
          const QSettings xcodeSettings(QDir::homePath() + "/Library/Preferences/com.apple.dt.Xcode.plist", QSettings::NativeFormat);
          const QVariantMap teamMap = xcodeSettings.value("IDEProvisioningTeams").toMap();
          QList<QVariantMap> teams;
          for (auto it = teamMap.cbegin(), end = teamMap.cend(); it != end; ++it) {
              const QString emailAddress = it.key();
              QVariantMap team = it.value().toMap();
              team["emailAddress"] = emailAddress;
              teams.append(team);
          }
          return teams;
      }
      

      Qt Creator can then pass that setting to qmake with

      QMAKE_MAC_XCODE_SETTINGS=team team.name=DEVELOPMENT_TEAM team.value=<team.teamID>
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vikas Vikas Pachdha
              con Eike Ziller
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes