Invalid Signature. Code failed to satisfy specified code requirement(s).

Hello Apple team,

We're having a problem submitting one of our apps to TestFlight via Xcode Cloud. We have over 10 apps with the same codebase and all of them build successfully. However, one application fails to build in Xcode Cloud, although there is no problem with manual build. We would appreciate your help in resolving this situation. Can you please help us resolve this issue? We are ready to provide additional information or logs to clarify the causes of the error.

Sincerely, Anton Babich

Xcode Cloud

Archive - iOS encountered a failure that caused the build to fail.

Prepare Build for App Store Connect

Invalid Signature. Code failed to satisfy specified code requirement(s). The file at path “moBiel Live.app/Frameworks/grpcpp.framework/grpcpp” is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose “Clean All” in Xcode, delete the “build” directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/support/code-signing.

Prepare Build for App Store Connect

Invalid Signature. Code failed to satisfy specified code requirement(s). The file at path “moBiel Live.app/Frameworks/Braintree.framework/Braintree” is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose “Clean All” in Xcode, delete the “build” directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/support/code-signing.

Same issue. Have you solved somehow?

No, we have this issues for a 2-3 weeks.

same issue

same issue

Same here, We have a new M2 Mac, 13.5.1 Xcode 14.3.1

We have a Unity proyect with this issue, all the certificates are correct

I am having the same issue! We publish apps for several customer accounts with the same codebase and only one is failing to upload with the exact same issue.

Invalid Signature. Code failed to satisfy specified code requirement(s).
 
 
Q