Adding Xcode Workspace Schemes to Version Control

前端 未结 2 584
夕颜
夕颜 2021-01-30 19:16

I\'d like to share Workspace Schemes that I\'ve created with the other team members. However they are all stored under .xcodeproj > xcuserdata > .xcuserdatad > xcschemes. I\'ve

2条回答
  •  無奈伤痛
    2021-01-30 20:02

    You'll need to go into the "Manage Schemes" view and check off the 'Shared' checkbox ('Product' menu -> Scheme -> Manage Schemes...).

    Next, You'll need to remove 'xcshareddata/xcschemes' from your ignore file and add them to the repo (or just use 'git add -f MyProject.xcodeproj/xcshareddata/xcschemes')

提交回复
热议问题