Can't import RealityKit on Xcode Version 13.0 beta 4 (13A5201i)

Description

  1. Create a new project
  2. at ContentView.swift, add import RealityKit
  3. Present error

Error

❌ Failed to build module 'RealityKit' for importation due to the errors above; the textual interface may be broken by project issues or a compiler bug
❌ Failed to build module 'RealityKit' for importation due to the errors above; the textual interface may be broken by project issues or a compiler bug

Replies

Same problem

This is a known issue, we are working on a fix.

Hi, I'm new to iOS development, I want to know where can I get informed when the issue is solved?

  • It's should appear at Xcode release note, but right now there's no the information about the RealityKit issue yet

  • Thanks :) Hope they can get it fixed this week, I really need it to finish my tutorial lol

  • If you need to finish the work right now, you can download the Xcode 13 beta 3 instead of waiting for the next release which may not be fixed in the next release :(