ios - 导出文件 : No 'teamID' specified and no team ID found in the archive

标签 ios xcode ionic-framework azure-devops

在 azure 构建管道中处理 ionic 4 ios 应用程序,尝试存档构建并遇到错误

2020-07-09 12:17:12.156 xcodebuild[5440:16936] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/myApp_2020-07-09_12-17-12.155.xcdistributionlogs'.
error: exportArchive: No 'teamID' specified and no team ID found in the archive

Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}

##[error]Error: /usr/bin/xcodebuild failed with return code: 70
我检查了我的证书,它们在正确的位置,我也尝试使用 cmd 运行
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
但没有用。
在运行管道时,我也收到了警告,但没有找到任何解决方案。我需要改变什么吗?
##[warning]Failed to automatically identify the export method to use from the archive file. This might cause errors during the build or produce an invalid package. If export fails, either enable signing (set `Signing Style` to `Project Defaults`), or configure export manually (set `Export options` to `Plist` or `Specify`). 

最佳答案

您的 Xcode@5任务可能缺少以下两个属性中的任何一个:

exportOptions: 'specify'
exportTeamId: "Team Id"

关于ios - 导出文件 : No 'teamID' specified and no team ID found in the archive,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62815060/

相关文章:

ios - 在iCloud仪表板中添加团队成员

javascript - 错误: Unreachable code detected ionic 3 weather app

ios - 如何使用自动布局来调整 TableView 单元格中的 View 大小?

iphone - UIView动画异常

ios - 我已经向 xcode 项目添加了两个文件夹,现在当我尝试提交它们时,出现以下错误

xcode - 适用于 iOS6/Xcode 4.5 的 Facebook SDK 无法正常工作

html - Ionic ionic 重新排序按钮中断设计

javascript - 如何知道复选框是否被选中?

ios - 如何在类方法中实现键值对的简单本地缓存?

ios - 为双期赋值