Rag*_*nde 5 xcode ios 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
Run Code Online (Sandbox Code Playgroud)
我检查了我的证书,它们位于正确的位置,我也尝试使用 cmd 运行
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
Run Code Online (Sandbox Code Playgroud)
但没有用。
在运行管道时我也收到警告,但没有找到任何解决方案。我需要改变什么吗?
##[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`).
Run Code Online (Sandbox Code Playgroud)
发布对我有用的解决方案,因为它可能会帮助遇到相同问题的其他人。
在将其上传到应用程序商店之前,我IPA resing task
在 azure 发布管道中使用了 。.ipa
由于我在构建管道中构建时无法对应用程序进行签名,因此我决定构建未签名的应用程序,然后使用再次resign task
签名IPA
。
归档时间: |
|
查看次数: |
6426 次 |
最近记录: |