Xcode Beta 2 simulator broken controls

Hi,

we’re trying to run the PolySpatial samples in the Xcode Beta 2 simulator.

To achieve that, we downgraded from Xcode Beta 6 to Beta 2. When starting the project from Xcode Beta 2 the sample app launches after some time but the simulator is not usable. No input is registered at all and the menu items (e.g. Features/Face ID) indicate the simulator is somehow not aware that it’s running visionOS.

Sounds like a bug in Xcode but have you experienced that? We’ve already reinstalled Xcode, the simulator runtime etc… Only answer I found for that problem in the Apple forums is using a newer simulator version, which seems to be not compatible with the current PolySpatial beta (makes sense, as it is shipped with Beta 6…). Can anyone provide a workaround/fix for that? When will a new version with compatibility for Xcode Beta >6 be released?

Thanks and regards,
Timon

I think we are seeing something similar. We can pass pointer/keyboard input through the I/O menu, but in all the example screenshots there are controls in the bottom-right that we are missing.


There’s no way to look around in the simulator which is very limiting. Probably an Xcode/Apple issue, but would be great if anyone knows a solution.

Doing the following should fix this:

  1. Open up a command prompt
  2. run sudo rm -rf /Library/Developer/PrivateFrameworks/CoreSimulator.framework
  3. run xcodebuild -runFirstLaunch

This worked for me to fix an issue with a later beta but will hopefully also work for b2.

4 Likes

That fixed it. Thanks!

The @joejo solution worked for me too. Thanks @joejo.

Just a comment: before the command
sudo xcodebuild -runFirstLaunch

I needed to run
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer

I really don’t know if it is required, but in my case I needed to run this way.

3 Likes