Reply to Xcode 11.4 : Building for iOS Simulator but the linked library was built for Mac OS + iOS I add "***.a" to "EXCLUDED_SOURCE_FILE_NAMES" in "Any iOS Simulator SDK" resolve my compile error. Developer Tools & Services Xcode Mar ’20