Building with CMake on Xcode fails, deprecated architecture and code-signing
When building a framework with CMake on MacOS, the generated Xcode project fails to work due to it using the deprecated i386 architecture. Setting CMAKE_OSX_ARCHITECTURES to $(ARCHS_STANDARD) still results in a failed build, this time with code-signing. Adding the --deep flag to the Xcode code-signing process finally results in a successful build.