我在我的作業中繼承了一個 React Native 專案,該專案使用 bitrise 構建應用程式版本并將其部署到應用程式商店,并使用 Fastlane 匹配管理所有證書和代碼簽名。
我突然開始在運行此命令的步驟中遇到以下問題 - 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
我不太確定為什么這會出錯,因為之前一切正常。任何人都可以建議我如何除錯這個或者問題可能與這里有關嗎?任何建議都會很棒,我對這一切都很陌生
uj5u.com熱心網友回復:
我最終想出了這個問題。
原來有一個更新對 Bitrise 步驟進行了重大更改,您可以在這里閱讀 - https://github.com/bitrise-steplib/steps-xcode-archive/releases/tag/4.0.0這是一個正在為我打破它
洗掉了 distribution_method 輸入的自動檢測選項。此選項已被標記為已棄用一段時間。新的默認值是 development,請確保您選擇了所需的分發方式
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/341246.html
