Work with Reality Composer Pro content in Xcode

May I ask if there is a complete source code project for this instructional video that needs to be learned.

Work with Reality Composer Pro content in Xcode

Answered by Vision Pro Engineer in 891476022

In RCP3 we are deepening the integration between Reality Composer Pro 3 and Xcode. Now, instead of a Swift Package, you can link a full Xcode project inside your RCP3 project.

This allows you to export your scenes, build and run your Xcode project directly from RCP3, without having to have Xcode even open. Physical devices and Simulators supported for iOS, iPadOS, tvOS, macOS and visionOS.

This integration can also be used to create Custom Components, Custom Actions and Custom Script Graph nodes to run your Swift code inside the Editor.

The samples used the WWDC 26 videos like Chaparral Village and Squirrel are examples that take advantage of that integration.

Hi @MaoChao

Yes, the source for Diorama is available for download here, along with an article that covers Reality Composer Pro.

The companion sample for that session is Diorama.

This is the same project demonstrated throughout "Work with Reality Composer Pro content in Xcode" (WWDC 2023 session 10273) and its companion sessions "Meet Reality Composer Pro" (10083) and "Explore materials in Reality Composer Pro" (10202). Opening the Diorama project in Xcode and working through the steps in the video should closely match what you see onscreen.

Note that the session is from WWDC 2023. Reality Composer Pro and its Xcode integration have continued to evolve since then, so if you're learning this for a current project, I'd also recommend watching "Compose interactive 3D content in Reality Composer Pro" (WWDC 2024 session 10102), which covers newer capabilities introduced after the 2023 sessions.

In RCP3 we are deepening the integration between Reality Composer Pro 3 and Xcode. Now, instead of a Swift Package, you can link a full Xcode project inside your RCP3 project.

This allows you to export your scenes, build and run your Xcode project directly from RCP3, without having to have Xcode even open. Physical devices and Simulators supported for iOS, iPadOS, tvOS, macOS and visionOS.

This integration can also be used to create Custom Components, Custom Actions and Custom Script Graph nodes to run your Swift code inside the Editor.

The samples used the WWDC 26 videos like Chaparral Village and Squirrel are examples that take advantage of that integration.

Work with Reality Composer Pro content in Xcode
 
 
Q