0

It was confirmed that it was working normally when building and running the simulation. However, when I connect it to my iPhone 6S+ and proceed with the build, an error like the one in the picture occurs:

Command CodeSign failed with a nonzero exit code

enter image description here

I tried setting my certificate to "always trust" in keychain but it didn't solve the error

xCode version is 11.1 and Mac OS is BIg Sur 11.5.2.

Please, if anyone has encountered the same problem, please help me in resolving this problem.

zcoop98
  • 2,590
  • 1
  • 18
  • 31
  • I am now trying to upgrade the version of xCode. – user3378137 Sep 10 '21 at 08:21
  • I have encountered this problem before try cleaning the build folder. `Product` -> `Clean build folder` – Alhomaidhi Sep 10 '21 at 15:27
  • [This post](https://stackoverflow.com/questions/48911289/warning-unable-to-build-chain-to-self-signed-root-for-signer-warning-in-xcode) appears to have a similar issue. Check it out! – Bram Sep 12 '21 at 22:33

0 Answers0