Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Command CodeSign failed with a nonzero exit code after installing Xcode10 beta 5?

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.

like image 545
DaleK Avatar asked Aug 02 '18 01:08

DaleK


1 Answers

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.

like image 50
ttorbik Avatar answered Nov 08 '22 18:11

ttorbik