If you use git, you can try to switch to a previous commit, and then re-run the project, it may work normally. or you can modify some of the code in the project (such as comments, spaces), and then re-run the project, which works for me
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: