未找到签名证书“​​iOS Development” - 构建与 bitrise/Fastlane 匹配的应用程序版本

No signing certificate “iOS Development” found - building app release with bitrise/Fastlane match

我在工作中继承了一个 React Native 项目,该项目使用 bitrise 构建应用程序并将其部署到应用程序商店,并使用 Fastlane match 管理所有证书和代码签名。

我突然开始在运行此命令的步骤中遇到以下问题 - xcodebuild "-exportArchive" "-archivePath" ...

Resolving CodeSignGroups...
Resolving CodeSignGroups...
Filtering CodeSignInfo groups for target capabilities
Filtering CodeSignInfo groups for export method
App was signed with NON Xcode managed profile when archiving,
only NOT Xcode managed profiles are allowed to sign when exporting the archive.
Removing Xcode managed CodeSignInfo groups
Failed to find Codesign Groups
generated export options content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>method</key>
        <string>development</string>
    </dict>
</plist> <nil>
[14:29:56] set -o pipefail && xcodebuild "-exportArchive" "-archivePath" "/var/folders/g2/xnd8hpjs50v433gfrybz2nxh0000gn/T/xcodeArchive091761673/Beryl.xcarchive" "-exportPath" "/var/folders/g2/xnd8hpjs50v433gfrybz2nxh0000gn/T/xcodeIPAExport525207508/exported" "-exportOptionsPlist" "/var/folders/g2/xnd8hpjs50v433gfrybz2nxh0000gn/T/xcodeIPAExport525207508/export_options.plist" | xcpretty
❌  error: exportArchive: No signing certificate "iOS Development" found
❌  error: exportArchive: "Beryl.app" requires a provisioning profile with the Associated Domains, Near Field Communication Tag Reading, Sign in with Apple, and Push Notifications features.
❌  Error Domain=IDEProvisioningErrorDomain Code=9 ""xxx.app" requires a provisioning profile with the Associated Domains, Near Field Communication Tag Reading, Sign in with Apple, and Push Notifications features." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="Beryl.app" requires a provisioning profile with the Associated Domains, Near Field Communication Tag Reading, Sign in with Apple, and Push Notifications features., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
❌  error: exportArchive: No signing certificate "iOS Development" found
❌  error: exportArchive: No signing certificate "iOS Development" found

我不太清楚为什么这是错误的,因为之前一切正常。谁能建议我如何调试这个或者问题可能与这里有关?任何建议都很好,我对这一切都很陌生

我终于解决了这个问题

原来有一个更新,对 Bitrise 步骤进行了重大更改,您可以在此处阅读 - https://github.com/bitrise-steplib/steps-xcode-archive/releases/tag/4.0.0 对我来说,这是一个重大更改

Removed auto-detect option of the distribution_method input. This option has been marked as deprecated for a while. The new default value is development, make sure you select the desired distribution method