尝试为iOS设备构建我的项目时(但模拟器正常工作),获取CSSMERR_TP_NOT_TRUSTED错误。我已尝试过系统默认修复程序无效,现在正在尝试添加WWDR证书的建议。CSSMERR_TP_NOT_TRUSTED:WWDR证书 - 此证书由未知权威机构签署
CSSMERR_TP_NOT_TRUSTED错误日志:
CodeSign /Users/soroushhakami/Library/Developer/Xcode/DerivedData/pplats-fzoberbyssrcczboxhhyvkpfflhj/Build/Products/Debug-iphoneos/pplats.app
cd /Users/soroushhakami/dev/pplatsIos
setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign --force --sign 1934d5614330256a833582b123621542bdd8dcfe --resource-rules=/Users/soroushhakami/Library/Developer/Xcode/DerivedData/pplats-fzoberbyssrcczboxhhyvkpfflhj/Build/Products/Debug-iphoneos/pplats.app/ResourceRules.plist --entitlements /Users/soroushhakami/Library/Developer/Xcode/DerivedData/pplats-fzoberbyssrcczboxhhyvkpfflhj/Build/Intermediates/pplats.build/Debug-iphoneos/pplats.build/pplats.xcent /Users/soroushhakami/Library/Developer/Xcode/DerivedData/pplats-fzoberbyssrcczboxhhyvkpfflhj/Build/Products/Debug-iphoneos/pplats.app
/Users/soroushhakami/Library/Developer/Xcode/DerivedData/pplats-fzoberbyssrcczboxhhyvkpfflhj/Build/Products/Debug-iphoneos/pplats.app: replacing existing signature/Users/soroushhakami/Library/Developer/Xcode/DerivedData/pplats-fzoberbyssrcczboxhhyvkpfflhj/Build/Products/Debug-iphoneos/pplats.app: CSSMERR_TP_NOT_TRUSTEDCommand /usr/bin/codesign failed with exit code 1
最后一行的ErrorMessage的柜面你不想读它所有:CSSMERR_TP_NOT_TRUSTEDCommand /usr/bin/codesign failed with exit code 1
我所有的证书有" this certificate was signed by an unknown authority "
错误。 但WWDR证书本身基于unknown authority
错误,让我无法解决如何解决这个问题。
我确实删除了所有证书,在干净的钥匙串上安装了WWDR,但错误仍然存在。有任何想法吗?
有同样的问题。 –