How to use one project file in Xcode (on multiple computers)

I code on two different computers with a different username. Xcode creates a .pbxuser file for each of them, which makes it necessary to copy the configuration from each.

This is error prone and the files are not different from each other, so everything should be carefully checked. Any way to avoid this?

+3
source share
3 answers

The information in the .pbxuser file is not particularly important - it is only personal settings, such as the location of windows, breakpoints, etc. All important things are in project.pbxproj, and this is the only file you need for synchronization / backup / check source control, etc. You can ignore or even delete other files in the .xcodeproj directory - they will be recreated with the default settings.

+4
source

. The .pbxuser file contains custom executables. Therefore, if you use a custom executable as a unit test runner (or some other executable), you may have to share this file

+1
source

When I have Xcode projects, I may have to work on several computers, I just have a project in Dropbox. Then it is in the same folder on any computer that I could use to operate it, and the changes are synchronized every time the files change. Thus, I literally work on the same project on each computer.

0
source

Source: https://habr.com/ru/post/1737051/


All Articles