xcodebuild - 错误域=IDECapabilitiesErrorDomain 代码=1

xcodebuild - Error Domain=IDECapabilitiesErrorDomain Code=1

我正在通过公共线路 xcodebuild 归档一个 iOS 应用程序。我的应用程序正在使用一个组 group.app.com 和一个小部件。我的配置文件适用于调试和发布。但是我在终端中发现了一个奇怪的问题。

存档命令,

xcodebuild -workspace App.xcworkspace -scheme App archive -archivePath ~/autobuild/output/App.xcarchive -configuration Release

错误:

Details: Failed to expand identifiers "{( "group.com.app" )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}

任何帮助将不胜感激。

我在我的构建中也看到了这一点,它似乎是 xcodebuild 的一个错误:discussed in this devforums post。根据其中一位发帖者的说法,他的雷达作为副本被关闭,所以我们至少知道 Apple 已经意识到这个问题并同意这是一个错误。我建议您也提交自己的雷达。