Command CodeSign failed with a nonzero exit code

I cant use ANY of apple's older examples with getting this


i386: No such file or directory

Command CodeSign failed with a nonzero exit code


Any Ideas why ?

Answered by Claude31 in 399622022

That's because your present version of compiler requires 64 bits code, and those old are probably 32 bits.


Have a look here if that can help:

https://developer.apple.com/documentation/uikit/app_and_environment/updating_your_app_from_32-bit_to_64-bit_architecture

Accepted Answer

That's because your present version of compiler requires 64 bits code, and those old are probably 32 bits.


Have a look here if that can help:

https://developer.apple.com/documentation/uikit/app_and_environment/updating_your_app_from_32-bit_to_64-bit_architecture

A had to enter build settings and remove any entries under Other Code Signing Flags.


After which the project builds but wont run. At least there is no window -)


This is a major cluster....

Command CodeSign failed with a nonzero exit code
 
 
Q