I have been working on a project before this year's new OSX and Xcode update and I was able to build the project with little trouble. But since updating to any of the beta software, including the latest version of Tahoe 26.0 and Xcode26-beta4 I have not been able to build this same project. I have tried reseting package cache and updating to the latest package versions. As well I have deleted the derived data and cleaning the build folder. The following error output is one of 55 errors I am getting. It seems like the modules for the XRSimulator are redefinitions from those for MacOSX. I don't know how to limit or redirect the definition of the modules to just those for the XRSimulator (this is a VisionOS project). I also tried all of this on different betas of Xcode with all the same result. This bug is causing a problem with the 16.4 version of Xcode as well. I would really really appreciate anybody's help on this.
in file included from /Applications/Xcode.app/Contents/Developer/Platforms/XRSimulator.platform/Developer/SDKs/XRSimulator26.0.sdk/usr/include/module.modulemap:2:
Previously defined here : CommandLineTools/SDKs/MacOSX26.0.sdk/usr/include/AppleTextureEncoder.modulemap
Ok I downloaded the latest version of macOS Tahoe beta and after breaking Xcode I reinstalled the latest beta version of that. And now I get a bug pertinent to the work Im doing now the development environment. I don't understand why we have to work under unstable beta environments. I really do want AR applications to flourish but they won't ever if this is the type of conditions developers have to be under to make software. This bug has held me up for over a month.