Thank you for your response. However, since I'm dealing with iOS 17, I believe the second workaround would be more applicable. Unfortunately, this workaround appears to be specific to Xcode 14 and doesn't seem to work with Xcode 13.
At the moment, I haven't found a solution and I don't have access to another device. It seems that I may have to consider purchasing a new MacBook, but for now I want to avoid that.