I'm a newbie in Mac development and Xcode.
Trying to revive an old cross-platform open source project of mine and to continue its development on Xcode.
A new project setup was created using CMake. Managed to compile the project with the required dependencies outside Xcode.
If I try to build the project in Xcode, the only error is:
Command CodeSign failed with a nonzero exit code
Details:
... zzzz.app code object is not signed at all in subcomponent ...
Found a similar question in this forum: https://forums.developer.apple.com/forums/thread/701261
Tried to follow the recommendations there, but without success.
The subcomponent in question is simply text files (xpm) which are used by the application during runtime, and are supposed to be copied in the app/Contents directory
Will appreciate any help
Further details on the setup:
(Signing and Capabilities):
Signing is automatic;
Team: "None";
Bundle identifier: empty
Signing certificate: "Sign to run Locally"
(Build phases):
Tried to check "Code Sign on Co..." - no difference
If I check "Copy only when installing" - it builds fine, yet it is not copying my resource files in my zzzz.app/Contents directory
Xcode Version 15.3 (15E204a)
The project is in GitHub