Reply to XCode 14 compile errors immediately disappear or do not appear at all This worked for me: Quit Xcode Goto Storage Management (Search Storage Management on your Mac) Select Developer on left panel. Select Project Build Data and Indexes and Delete it. Open Xcode Developer Tools & Services Xcode Feb ’23