no identity found Command CodeSign failed with a nonzero exit code

简介: no identity found Command CodeSign failed with a nonzero exit code

《HBuilderX使用mac打包ios应用提示苹果根证书没有安装》

问题:替换证书后,用xcode运行模拟器正常,调试真机时报这个错误。

1.增加苹果账号;

2.从一个苹果研发者账号建立的app开发证书,然后把这个app开发者证书失效掉,然后在另一个苹果开发者账号建立相同bundle identifier的app开发证书就有可能报这个错误。

解决方法:这个错误本质上时两个证书冲突引起,引起冲突的是Apple Worldwide Developer Relations Certification Authority证书。会在钥匙串的登陆里看到两个Apple Worldwide Developer Relations Certification Authority证书。解决办法是删除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: Juhong Wu (A7G56TPCFM)"
Provisioning Profile: "iOS Team Provisioning Profile: com.familyjoy.childishbeautyparent"
                      (d6189d3e-fec5-4a06-bfb0-b85508d96533)

    /usr/bin/codesign --force --sign 548D05FF5643A89C3ECF7CD127D9014D85C164F4 --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

548D05FF5643A89C3ECF7CD127D9014D85C164F4: no identity found
Command CodeSign failed with a nonzero exit code


目录
相关文章
|
3月前
|
Python
解决安装ConcurrentLogHandler报错error in ConcurrentLogHandler setup command: use_2to3 is invalid.
本文介绍了在Python环境下安装ConcurrentLogHandler时遇到的"use_2to3 is invalid"错误的解决方法,主要是通过降级setuptools到57.5.0版本来解决该问题。
162 2
|
6月前
|
Java
failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code
failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code
112 0
|
6月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
65 0
|
Android开发
Failed to obtain GLES 2.x extensions striProcess finished with exit code -1073741819 (0xC0000005)
android studio打开虚拟机时报错信息,解决办法之一(我成功的办法,其他方法试了没用), 打开 设备管理器然后找到你的独显,然后禁用设备,然后再次启动设备就行了,最后再启动你的虚拟机就行了。
170 0
|
Python
pychram中提示:Process finished with exit code 0
"Process finished with exit code 0" 是PyCharm中的提示信息,表示程序已经成功地执行完毕并且没有发生任何错误。在PyCharm中,当程序正常终止并返回退出代码0时,这个消息会在控制台中显示。 在PyCharm中运行程序时,它会在一个单独的进程中执行,当程序完成执行后,它会向操作系统返回一个退出代码。退出代码0表示程序成功执行完毕,而非零的退出代码通常表示错误或异常终止。 当出现"Process finished with exit code 0"的提示时,意味着你的程序已经成功地执行完毕,没有发生任何错误或异常情况。你可以通过检查程序输出或任何其他预
1890 0
|
Perl
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
705 0
autoreconf: command not found
autoreconf: command not found
428 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
307 0
ERROR: Command errored out with exit status 1:
g++: command not found
g++: command not found
81 0