How to create a new RealityKitContent package for a VisionOS project

Oscar de la Hera Gomez
A flower that represents Reality Composer Pro with the text “As an XCode Package” beneath it.

Create a project in Reality Composer Pro, drag & drop its parent folder into XCode & then add the package to targets framework, libraries and embedded content.

The code for the demonstration detailed on this post can be found at the tutorials/reality-composer-pro/package branch within the repository below.

Step One: Create a new Reality Composer Pro project

A screenshot showing you that all Reality Composer Pro projects are ready to be integrated as XCode packages.

Reality Composer Pro projects are created to be seamlessly integrated into an XCode project and are the equivalent of the RealityContentKit that comes with a new VisionOS project.

Step Two: Drag and drop it into XCode

A screenshot highlighting how you should drag and drop the folder that holds all the reality composer pro project files into XCode under the "Packages" folder.

Drag and drop the Reality Composer Pro project parent folder into XCode.

Step Three: Add Package to Dependencies

A screenshot showing you how you can add the newly added package into the visionOS apps targets framework, libraries and embedded content.

Navigate to the apps target.

Then, under framework, libraries and embedded content click + and add the relevant Reality Composer Pro package.

Step Four: Test

A screenshot of XCode showing the changes we made to the ContentView window for the scene from the package to appear in the Swift Preview.

Import the Package into one of your projects file and add test that the bundle reference works.

Looking to learn more about Augmented Reality, Design and Technology?

Search our blog to learn more about A/R, design and technology.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details