I have an Xcode project that is purely Swift and SwiftUI across several app targets for different platforms. I created a different branch for Xcode 26 and I'm running on a separate Mac with the Beta builds (beta 3).
When building for some targets the app builds just fine but the visionOS app target causes several errors, including the C99 error.
C99 was enabled in PCH file but is currently disabled
[projectname].xcodeproj/:1:1 module file /Users/[username]/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/SwiftShims-P4BGZILA3GDS9GZUHJT22AVR.pcm cannot be loaded due to a configuration mismatch with the current compilation
[projectname].xcodeproj/:1:1 missing required module 'SwiftShims'
Topic:
Community
SubTopic:
Apple Developers