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
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.