How to solve when Xcode doesn't show the "Remove Reference" option when deleting files?Right-click on your project root directory and tap “Convert to Group”.