原因证书:Apple Worldwide Developer Relations Certification Authority证书信任方式有问题,不能选择始终信任。
解决方案:要选择使用系统默认。
问题描述
CodeSign /Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ChildishBeautyParent-bpiwrfjwqipteohktjbxfelejfre/Build/Products/Debug-iphoneos/稚美家长端.app (in target 'ChildishBeautyParent' from project 'ChildishBeautyParent') cd /Users/jiaguoshang/Desktop/工作/ChildishBeautyParent export CODESIGN_ALLOCATE\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate Signing Identity: "Apple Development: qiujun cai (KT49M9W293)" Provisioning Profile: "iOS Team Provisioning Profile: com.familyjoy.childishbeautyparent" (292c2339-8281-4b4a-8aee-d616b9c67ad2) /usr/bin/codesign --force --sign D508717A98D562B340C2FD2EDFBBAFF02C376461 --entitlements /Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ChildishBeautyParent-bpiwrfjwqipteohktjbxfelejfre/Build/Intermediates.noindex/ChildishBeautyParent.build/Debug-iphoneos/ChildishBeautyParent.build/稚美家长端.app.xcent --timestamp\=none /Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ChildishBeautyParent-bpiwrfjwqipteohktjbxfelejfre/Build/Products/Debug-iphoneos/稚美家长端.app Warning: unable to build chain to self-signed root for signer "Apple Development: qiujun cai (KT49M9W293)" /Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ChildishBeautyParent-bpiwrfjwqipteohktjbxfelejfre/Build/Products/Debug-iphoneos/稚美家长端.app: errSecInternalComponent Command CodeSign failed with a nonzero exit code