Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.1.0
-
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
- relates to
-
QTCREATORBUG-16968 iOS Code Signing not possible with QtCreator & Xcode 8 (requires a development team)
- Closed
-
QTBUG-55915 iOS: qmake generated Xcode projects does not specify development team
- Closed