Adding Xcode Workspace Schemes to Version Control

前端 未结 2 548
夕颜
夕颜 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 19:48

    Choose Manage Schemes from the Schemes control. Check "Shared" beside any schemes you'd like to share. The schemes will be moved into a folder called "xcshareddata".

    Update: This works the same for Xcode 4-8.

    0 讨论(0)
  • 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')

    0 讨论(0)
提交回复
热议问题