Reply to ld: symbol(s) not found for architecture arm64 I generated an Xcode project using CMake and just got this error. Unchecking the 'Shared' box solved the problem. I found it in Product -> Scheme -> Edit schemes -> Build Target Developer Tools & Services Xcode Feb ’23