Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 244
Nikolozi Avatar asked Aug 22 '11 07:08

Nikolozi


People also ask

How do I manage schemes in Xcode?

To view your project's current schemes, click the scheme name in the toolbar of your project window. Xcode displays a pop-up menu with a list of current schemes at the top, and commands to edit, create, and manage schemes at the bottom. To view and modify your project's current schemes, select Manage Schemes.

What is difference between target and scheme in Xcode?

A Target specifies a product to build and contains the instructions for building the product from a set of files in a project or workspace. An Xcode scheme defines a collection of targets to build, a configuration to use when building, and a collection of tests to execute.

Where are schemes stored Xcode?

Schemes are stored per user by default, but if you go to Manage Schemes and click the "Shared" checkbox on the far right for each one, they'll show up in the xcshareddata directory instead of your xcuserdata directory, where they'll be seen and used by everyone.


1 Answers

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.

like image 111
Joshua Nozzi Avatar answered Oct 10 '22 04:10

Joshua Nozzi