Adding Xcode Workspace Schemes to Version Control
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 set xcuserdata folders to be ignore in SVN as I assumed all data in that folder were user specific.
Is there a way around this? i.e I don't want the schemes to be user specific. Or should I check the xcschemes folder in anyway. And if I do that will the other users be able to see and use my schemes?
Solution 1:
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.
Solution 2:
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')