I have the same issue when building for visionOS. iOS and macOS succeeds. This fails both locally and on Xcode Cloud.
Did you figure out how to fix it?
C99 was enabled in PCH file but is currently disabled
module file [some-directory]/Xcode/DerivedData/ModuleCache.noindex/SwiftShims-1VIPCI9266QTFHCU040GOH2D7.pcm cannot be loaded due to a configuration mismatch with the current compilation
missing required module 'SwiftShims'
Topic:
Community
SubTopic:
Apple Developers