This issue can be caused from your Xcode Command Line Tools being out of date, because you do not have the latest MacOS version installed that gives you the latest version needed to compile things correctly. For example: This issue exists when running Xcode 14.2 on MacOS version 12.6.1, but does not exist on 12.6.2 when running Xcode 14.2. The Mac that my colleague and I were debugging (12.6.1) had a software update to 12.6.2, with an update to Xcode 14 Command Line tools. Hope this helps for future reference.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: