Search code examples
xcode6code-snippets

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


Solution

  • 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