首页 > 解决方案 > 在 macOS Monterey 上出现此错误:代码签名“AppAuth.framework”失败

问题描述

错误的屏幕截图在这里

实现后尝试从 Xcode 将应用程序上传到 Apple Connect 时会发生这种情况。

以下是日志:IDEDistributionPipeline.log

2021-06-18 05:59:30 +0000  Running /usr/bin/codesign '-vvv' '--force' '--sign' '93D0804B68D64BEB32D3E27D45905B528D468CAE' '--entitlements' '/var/folders/l9/lc4s2hls2vg03bs4g3bct1d00000gn/T/XcodeDistPipeline.~~~1slhOn/entitlements~~~OmmxKx' '--preserve-metadata=identifier,flags,runtime' '/var/folders/l9/lc4s2hls2vg03bs4g3bct1d00000gn/T/XcodeDistPipeline.~~~1slhOn/Root/Payload/Belen.app/Frameworks/AppAuth.framework'
2021-06-18 05:59:30 +0000  /var/folders/l9/lc4s2hls2vg03bs4g3bct1d00000gn/T/XcodeDistPipeline.~~~1slhOn/Root/Payload/Belen.app/Frameworks/AppAuth.framework: internal error in Code Signing subsystem
2021-06-18 05:59:30 +0000  /usr/bin/codesign exited with 1

我正在使用 CocoaPods 导入这个框架。

有什么想法可以解决这个问题吗?

我已经为这个错误苦苦挣扎了一个多星期。

谢谢!

标签: iosxcodesigningmacos-monterey

解决方案


This is a known issue on macOS Monterrey. Apple engineers are working on it.

My workaround was to simply use another Mac with macOS Big Sur and it worked.


推荐阅读