iosxcodecommand-linexcode12

Xcode 12.3 command codesign failed with a nonzero exit code


I am a student working on an IOS app, and I do not have much programming experience at all. The app I have built works perfectly well on the simulator, but when I tried to load it onto my iPhone, I keep getting the error Command CodeSign failed with a nonzero exit code.

I tried to lock/unlock my keychain, but to no avail, so at this point I created another completely blank xcode ios app project, and it still doesn't load onto the device, and I get the same error, which leads me to believe that it isn't a code error.

This issue has really frustrated me, and if anyone could figure out a way to solve it, I'd be very grateful


Solution

  • I actually resolved my error, and it seemed to be an issue with the keychain, but I had to actually delete my entire login keychain and create a new one, and then the app was loaded onto the device and works properly