[xrsimulator] Exception thrown during compile: cannotGetRkassetsContents

My friend cannot build my visionOS project in the simulator. He gets the following error.

Error: [xrsimulator] Exception thrown during compile: cannotGetRkassetsContents(path: "/Users/path/to/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets")

In Xcode, he is able to open the RealityKitContent package in realityComposer Pro by clicking on the Package.realitycomposerpro file. No warnings show up wrt this error in RCP either. All scenes appear to be usable/navigable in RCP. This error only comes up when he tries to build the project in Xcode command+b. The is no other information in the Report Navigator's Build logs for this error. The error is always followed by this next error.

Error: Tool exited with code 1

Yikes, please help!

[xrsimulator] Exception thrown during compile: cannotGetRkassetsContents
 
 
Q