Error: Command CodeSign failed with a nonzero exit code after installing Xcode10 beta 5?
Hopefully this will help someone. I updated from Xcode 9 -> Xcode 10 beta 6 and received the non-zero exit code error. My fix was to go to Product -> Clean Build Folder.
After doing this all the errors went away and I was able to run my project.
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on June 04, 2022Comments
-
Admin about 2 years
Briefly since downloading and installing Xcode 10 beta 5 I have not been able to get any Provisional Profiles to work. In fact, my application fails immediately with the following error message.
Command CodeSign failed with a nonzero exit code.
It appears there’s a disconnect with provisioning profiles and certificates within Xcode.
Interestingly, when I switch on the Automatically manage signing option Xcode generates certificates. However my developer Provisional Profiles can't seem to find certificates. I have updated to the latest beta versions for Mac OS, iOS, and of course Xcode.
Honestly, I have tried manually creating certificates as well as profiles with no luck. I have been trying to find a solution since downloading the beta version a few days ago.
I would greatly appreciate any feedback and or suggestions for possible solutions.
Thank you for your time.