I delved into this and found at least part of the answer. Hope this helps. I do not work with the workspace, but I work with a project with several subprojects and schemes.
The selected project diagram is a user-specific configuration, and it seems that it cannot be added to the new user who is cloning the repository. I can tell by looking at my git repository after changing the settings stored in
<projectname>.xcodeproj/project.xcworkspace/xcuserdata/<username>.xcuserdatad/UserInterfaceState.xcuserstate
So, if we canโt set the selected circuit, can we set the order so that the desired circuit is displayed at the top? It seems not, because even for general schemes, information about ordering a scheme is placed in a user-specific file:
<projectname>.xcodeproj/xcuserdata/<username>.xcuserdatad/xcschemes/xcschememanagement.plist
It was as much as possible, but I believe that there should be a way, even if it is a little hacked. The project preserves the order that you created the schemes in some way, possibly in the project.pbxproj file. Therefore, perhaps a small reformatting of this file may produce some results.
source share