Reply to ld: building for iOS Simulator, but linking in dylib built for iOS I faced this same issue in the following configuration Xcode 13.1 + Monterey OS 12.0.1 + Intel chip I had to go tot he Architectures section and replace $(ARCHS_STANDARD) by x86_64. I hope this helps. Developer Tools & Services Xcode Nov ’21