Search code examples
xcodemulti-user

How use a single project file in Xcode (in several computers)


I code on 2 different computers with different username. Xcode makes a .pbxuser file for each one, making necesary replicate the config from each one.

This is error prone, and the files are not diff-friendly so everything must be carefully checked. Any way to avoid this?


Solution

  • The info in the .pbxuser file is not particularly important - it's just personal settings like window locations, breakpoints, etc. All the important stuff is in project.pbxproj and this is the only file you need to sync/back up/check into source control/etc. You can ignore or even delete the other files in the .xcodeproj directory - they will get re-created with default settings.