skip to Main Content

An screenshot of the error is here

It happens when trying to upload the app to Apple Connect from Xcode after achieving.

Here are the logs: 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

I’m importing this framework using CocoaPods.

Any ideas how can I fix this issue?

I’ve been struggling with this error for over a week.

Thanks!

2

Answers


  1. Chosen as BEST ANSWER

    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.


  2. First of all it might be good for us to know how you added AppAuth to your project. CocoaPods? Carthage? How exactly?

    I think you also added the Framework wrong in your Xcode project by asking Xcode to "Embed and Sign" it, even though that framework is not your own code.

    To change that setting open your project, select your apps target, go to the General tab and then scroll down to "Frameworks, Libraries and Embedded Content". Look for AppAuth.framework and change the selection to "Do Not Embed". This should do the trick.

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search