如何在Azure devops build agent中修复'* pod *不支持配置文件'

Max*_*nte 4 xcode azure provisioning-profile swift azure-devops

我目前在Azure Devops中遇到管道问题。从3月27日开始,我收到了错误消息:

错误:Alamofire不支持配置文件。Alamofire不支持配置文件,但是已手动指定了配置文件prov配置文件名称。在构建设置编辑器中将供应配置文件值设置为“自动”。(在目标“ Alamofire”中)

我所有的豆荚都有此错误。

代码: 前一天正确建立了完全相同的分支。

Xcode版本: 我知道代理仍在Xcode 10.1上,并且我还没有将我的项目更新到10.2,所以应该很好。

配给配置文件: 有效。

怀疑:Apple在这一天发布了新版本的Xcode和Swift。微软也在这一天更新了代理:github.com/Microsoft/azure-pipelines-tasks/commit/1b019b9f65202d65ac58150bff6514938b53ff78#diff-93b5db3773bba1013dce9d814869dffd

o,有人知道吗?我的管道有什么问题?

wil*_*ess 6

The issue is that the newest version of Cocoapods is trying to sign the frameworks.

Add the following code to your podfile

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
            config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
            config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
        end
    end
end
Run Code Online (Sandbox Code Playgroud)