Renaming The Project Source Folder In Xcode

  1. Rename the source folder in finder/terminal.
  2. Right click the .xcodeproj file and select the option that says “Show Package Contents”.
  3. Open the .pbxproj file in a text editor.
  4. Command-F to find and replace all occurrences of the previous folder name with the new folder name.
  5. Save the file and you are good to go!