During connecting with the physical device for the first time rom my system, I mistakenly didn't allow keychain access. Now the app running fine on simulator but giving error in build time.

command codesign failed with a non zero exit code.


Please let me know the solution for the same