Martin Pilch
Martin Pilch

Reputation: 3295

HOWTO Export/Import custom code snippets in XCode 6

Is there a way how to export the custom code snippets from XCode 6 and then import it to the XCode 6 of another user?

The snippets are now in one XML file: /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/SystemCodeSnippets.codesnippets Thanks

Upvotes: 11

Views: 3913

Answers (1)

Jacob F. Davis C-CISO
Jacob F. Davis C-CISO

Reputation: 890

In Xcode 7.3.1, my snippets have been created in ~/Library/Developer/Xcode/UserData/CodeSnippets. It looks like you may be in the wrong directory. Put your codes snippets in this directory instead.

On a side note, you can find my code snippets here: XcodeSnippets GitHub

Upvotes: 25

Related Questions