gpt4 book ai didi

ios - 配置文件中的重复 key 导致构建失败 : error MSB4018

转载 作者:行者123 更新时间:2023-12-01 18:04:36 25 4
gpt4 key购买 nike

我的 Xamarin 构建任务在我的 Azure Dev Ops 管道中失败:

错误 MSB4018:“DetectSigningIdentity”任务意外失败。

错误 MSB4018:System.ArgumentException:已添加具有相同键的项目。键:com.apple.developer.associated-domains

打开安装在构建代理上的配置文件时,我确实可以看到 com.apple.developer.associated-domains key 两次包含在 entitlements 字典中:

<key>Entitlements</key>
<dict>
<key>keychain-access-groups</key>
<array>
<string>xxxxxxx</string>
</array>
<key>get-task-allow</key>
<false/>
<key>application-identifier</key>
<string>xxxxxxxx</string>
<key>com.apple.developer.healthkit</key>
<true/>
<key>com.apple.developer.healthkit.access</key>
<array>
<string>health-records</string>
</array>
<key>com.apple.developer.associated-domains</key>
<string>*</string>
<key>com.apple.developer.team-identifier</key>
<string>xxxxxxxxx</string>
<key>com.apple.developer.associated-domains</key>
<string>*</string>

</dict>

我在代理上编辑了配置文件并删除了重复项并禁用了安装配置文件任务并且它可以工作。但是,此手动解决方法不适用于托管构建代理。

任何想法为什么会发生这种情况或如何解决? (我用 xxxxxxx 编辑了上面的敏感内容)。

最佳答案

看起来这已在 Apple 开发者门户端修复。通过我的企业帐户,我能够生成具有多种功能且没有重复 key 的开发、临时和内部配置文件。

我没有看到 Apple 关于该主题的官方通知,但我能够创建发布版本并将其成功部署到设备上。

关于ios - 配置文件中的重复 key 导致构建失败 : error MSB4018,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53794998/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com