iOS scheme goes missing when I branch my project (Xcode 4.2)

后端 未结 2 2083
长情又很酷
长情又很酷 2021-02-20 00:39

In Xcode 4.2 when I create a new branch and open it, the iOS scheme which exists in the Master is lost. Instead I have a scheme for \'Mac 64 bit.\"

This has happened a

2条回答
  •  不要未来只要你来
    2021-02-20 01:23

    I know this is old question but there doesn't seem to be a good question lately either. So, I am adding my solution for this.

    The issue is because the scheme is not checked into other branch. If they are not, scheme will disappear on others.

    If you wonder why this was not checked in, scheme is local unless you 'Check to Share' box in Manage Scheme and source controlled to git.

    After it is saved in a branch, to make this change visible in other branches, you need to propagate this to the rest of working branches.

    I did this using git command line because doing this xcode isn't so reliable because it is under .xcodeproj.

提交回复
热议问题