Command CodeSign failed with a nonzero exit code

I have not been able to open any of my apps since I uploaded my latest update midOctober 2023. Previously I have tried everything on forums from removing derived data, adding new options in build folder and more.

Since then I have wasted hours trying to open any app from my iCloud / hard disk and I wonder if part of the problem is caused by backing up to iCloud, as I can open from an external hard disk. It takes almost as long to upload from hard disk than cloud so whole thing annoying, does this add clues to this frustrating problem ?

Also when I opened one of my apps it had made hundreds of unassigned assets that all had to be removed individually.

I have no idea how to continue with my work I have three other apps in progress, but am halted at present but such a stupid small detail. // here is full commet /Users/ruwickigmail.com/Desktop/0-APPS-2023/InstaAnimates/InstaAnimates.xcodeproj: warning: Unable to find a target which creates the host product for value of $(TEST_HOST) '/Users/ruwickigmail.com/Desktop/0-APPS-2023/InstaAnimates/DerivedData/InstaAnimates/Index.noindex/Build/Products/Debug-maccatalyst/InstaAnimates.app/Contents/MacOS/InstaAnimates' (in target 'InstaAnimatesTests' from project 'InstaAnimates')

My bundle ID is fine but it crashes on loading so may be due to something in signing but everything looks fine. I note that there are hundreds of enquiries on the forums, but most are unanswered. as this is an regular Xcode Apple problem and there are hundreds of people being put of continuing with their apps could the Apple team look into this please.

Answered by uquiz in 810695022

another frustrating day, ive tried adding cocoa pods, signing in and out of developer account and more, im sure its something to do with signing from copies on iCloud, tried to do add terminal cd PATH_TO_YOUR_PROJECT_FOLDER --HELP!!!!

Accepted Answer

another frustrating day, ive tried adding cocoa pods, signing in and out of developer account and more, im sure its something to do with signing from copies on iCloud, tried to do add terminal cd PATH_TO_YOUR_PROJECT_FOLDER --HELP!!!!

Command CodeSign failed with a nonzero exit code
 
 
Q