Mustafa
Mustafa

Reputation: 11

Newly created visionOS project won’t compile: 'Missing package product 'RealityKitContent'

I created a new visionOS project in Xcode. I chose RealityKit as the immersive space renderer, windowed, and mixed. I create the project, and I'm getting a build error 'No such module 'RealityKitContent' The error says 'Missing package product 'RealityKitContent' I am using visionOS version 1.1, with Xcode 15.3, M1 Macbook pro, Mac OS 14.4.

I tried adding the RealityKitContent content package directly using package manager, but I can't find it.

EDIT: Changed the build location from legacy to unique in xcode location settings and it worked!

Upvotes: 1

Views: 821

Answers (1)

Bilal Durnagöl
Bilal Durnagöl

Reputation: 37

You need to remove this framework with the new xcode update. Can you try selecting visionos from targets and deleting it from frameworks? Like in the picture.

enter image description here

Upvotes: 0

Related Questions