Xcode beta 5 crashes when adding a file to a project

I'm working on a project with Xcode 15.0 beta 5 (15A5209g). When I try to add a new file to the project Xcode crashes.

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000001e Exception Codes: 0x0000000000000001, 0x000000000000001e

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [2797]

Can someone help me?

Based off the exception type, it looks like you don't have edit access in that folder.

Same here. The file is not visible in the project but in the Finder. Then it can be added. Still the crash happens every time

Problem

This happens consistently in the following environment:

macOS: 14.0 Beta (23A5301h)
Xcode: Version 15.0 beta 5 (15A5209g)

Crash happens when adding a new file.

Observation

  • File gets written to disk then Xcode crashes.
  • Subsequently after re-opening Xcode able to add a file from disk.
  • However consisting crashes when creating a new file

Works fine

The same version of Xcode works fine on macOS 13.5

Thanks Peter. True. The file doesn't need to be created by Xcode. Then it can be added to the project.

Xcode beta 5 crashes when adding a file to a project
 
 
Q