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

Provide option to select development team used for signing

XMLWordPrintable

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

      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>
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes