❗️Xcode-beta: “missing required module ‘SwiftShims’” and C99 PCH conflict

Hi all,

I’m running into a persistent build issue with my Swift project ORSOFINAL after migrating from Xcode stable to Xcode-beta.app 26 (June 2025 version).

💥 Errors displayed: 1. C99 was enabled in PCH file but is currently disabled 2.

module file .../ModuleCache.noindex/SwiftShims-AXUM98L131W4...pcm cannot be loaded due to a configuration mismatch with the current compilation

3.	missing required module 'SwiftShims'

🛠 What I’ve already tried: • xcode-select -s /Applications/Xcode-beta.app/Contents/Developer • Deleted ~/Library/Developer/Xcode/DerivedData, ModuleCache.noindex, Archives, and Products • Ran sudo xcodebuild -runFirstLaunch • Clean Build Folder in Xcode-beta • Verified Command Line Tools setting points to Xcode-beta

❓Looking for guidance on: • Whether this is a known bug in Xcode-beta • If SwiftShims/PCM conflicts are expected between versions • Best practices to safely migrate from Xcode stable to beta for Swift-based projects

Any advice is much appreciated.

Thanks, Mathéo

This looks like a duplicate of this other post, so let's consolidate to that other thread. It looks like you've gotten some input from the community on that other thread!

— Ed Ford,  DTS Engineer

❗️Xcode-beta: “missing required module ‘SwiftShims’” and C99 PCH conflict
 
 
Q