CodeSign /Users/macbook/Library/Developer/Xcode/DerivedData/appname-asdasdasd/Build/Intermediates.noindex/ArchiveIntermediates/appname/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationServiceExtension.appex
cd /Users/macbook/Documents/Projects/
export CODESIGN_ALLOCATE=/Users/macbook/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export
PATH="/Users/macbook/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/macbook/Downloads/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "Apple Distribution:teamname”
Provisioning Profile: "org_notificationService_profile"
/usr/bin/codesign --force --sign 0746A1A86EB886A02E571C83E3 --entitlements /Users/macbook/Library/Developer/Xcode/DerivedData/appname-fadmxslohyadleahgtrunjqbwjgw/Build/Intermediates.noindex/ArchiveIntermediates/appname/IntermediateBuildFilesPath/appname.build/Release-iphoneos/NotificationServiceExtension.build/NotificationServiceExtension.appex.xcent --timestamp=none /Users/macbook/Library/Developer/Xcode/DerivedData/appname-fadmxslohyadleahgtrunjqbwjgw/Build/Intermediates.noindex/ArchiveIntermediates/appname/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationServiceExtension.appex
命令 CodeSign 失敗,退出代碼為非零
創建了新的分發證書并再次清理和構建專案,但仍然錯誤相同如果有人知道,請告訴我
uj5u.com熱心網友回復:
經過一番研究,終于解決了。
更新 xcode 13 后需要執行以下步驟:
- 從鑰匙串中洗掉 Apple 全球開發者關系證書頒發機構證書
- 重新啟動系統
- 重啟xcode
- 從這里再次下載該證書:https ://www.apple.com/certificateauthority/AppleWWDRCAG3.cer
- 清除派生資料
- 現在嘗試歸檔您的代碼
希望這會有所幫助
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/420338.html
標籤:
