├── .gitignore ├── Breakpoints_v2.xcbkptlist ├── Custom.xccolortheme ├── IDETemplateMacros.plist ├── README.md └── scripts ├── backup.sh └── install.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 16 | 17 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 28 | 33 | 34 | 35 | 37 | 44 | 45 | 47 | 50 | 51 | 52 | 54 | 56 | 57 | 58 | 59 | 60 | 69 | 70 | 71 | 72 | 73 | 75 | 82 | 83 | 92 | 93 | 94 | 95 | 96 | 98 | 105 | 106 | 115 | 116 | 117 | 118 | 119 | 121 | 128 | 129 | 138 | 139 | 140 | 141 | 142 | 144 | 150 | 151 | 152 | 154 | 161 | 162 | 164 | 167 | 168 | 169 | 171 | 173 | 174 | 175 | 176 | 177 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | -------------------------------------------------------------------------------- /Custom.xccolortheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | DVTConsoleDebuggerInputTextColor 6 | 0.999999 0.999974 0.999991 1 7 | DVTConsoleDebuggerInputTextFont 8 | SFMono-Medium - 13.0 9 | DVTConsoleDebuggerOutputTextColor 10 | 0.988908 0.400489 0.399963 1 11 | DVTConsoleDebuggerOutputTextFont 12 | SFMono-Bold - 13.0 13 | DVTConsoleDebuggerPromptTextColor 14 | 0.255 0.714 0.27 1 15 | DVTConsoleDebuggerPromptTextFont 16 | SFMono-Bold - 13.0 17 | DVTConsoleExectuableInputTextColor 18 | 0.995808 0.800124 0.399987 1 19 | DVTConsoleExectuableInputTextFont 20 | SFMono-Medium - 13.0 21 | DVTConsoleExectuableOutputTextColor 22 | 0.599998 0.600015 0.600005 1 23 | DVTConsoleExectuableOutputTextFont 24 | SFMono-Bold - 13.0 25 | DVTConsoleTextBackgroundColor 26 | 0.120543 0.122844 0.141312 1 27 | DVTConsoleTextInsertionPointColor 28 | 1 1 1 1 29 | DVTConsoleTextSelectionColor 30 | 0.317647 0.356862 0.439215 1 31 | DVTFontAndColorVersion 32 | 1 33 | DVTFontSizeModifier 34 | 1 35 | DVTLineSpacing 36 | 1.1000000238418579 37 | DVTMarkupTextBackgroundColor 38 | 0.18856 0.195 0.22444 1 39 | DVTMarkupTextBorderColor 40 | 0.253475 0.2594 0.286485 1 41 | DVTMarkupTextCodeFont 42 | SFMono-Regular - 11.0 43 | DVTMarkupTextEmphasisColor 44 | 1 1 1 1 45 | DVTMarkupTextEmphasisFont 46 | .SFNS-RegularItalic - 13.0 47 | DVTMarkupTextInlineCodeColor 48 | 1 1 1 0.7 49 | DVTMarkupTextLinkColor 50 | 0.33 0.247124 0.894195 1 51 | DVTMarkupTextLinkFont 52 | .SFNS-Regular - 13.0 53 | DVTMarkupTextNormalColor 54 | 1 1 1 1 55 | DVTMarkupTextNormalFont 56 | .SFNS-Regular - 13.0 57 | DVTMarkupTextOtherHeadingColor 58 | 1 1 1 0.5 59 | DVTMarkupTextOtherHeadingFont 60 | .SFNS-Regular - 18.2 61 | DVTMarkupTextPrimaryHeadingColor 62 | 1 1 1 1 63 | DVTMarkupTextPrimaryHeadingFont 64 | .SFNS-Regular - 31.2 65 | DVTMarkupTextSecondaryHeadingColor 66 | 1 1 1 1 67 | DVTMarkupTextSecondaryHeadingFont 68 | .SFNS-Regular - 23.4 69 | DVTMarkupTextStrongColor 70 | 1 1 1 1 71 | DVTMarkupTextStrongFont 72 | .SFNS-Bold - 13.0 73 | DVTScrollbarMarkerAnalyzerColor 74 | 0.403922 0.372549 1 1 75 | DVTScrollbarMarkerBreakpointColor 76 | 0.290196 0.290196 0.968627 1 77 | DVTScrollbarMarkerDiffColor 78 | 0.556863 0.556863 0.556863 1 79 | DVTScrollbarMarkerDiffConflictColor 80 | 0.968627 0.290196 0.290196 1 81 | DVTScrollbarMarkerErrorColor 82 | 0.968627 0.290196 0.290196 1 83 | DVTScrollbarMarkerRuntimeIssueColor 84 | 0.643137 0.509804 1 1 85 | DVTScrollbarMarkerWarningColor 86 | 0.937255 0.717647 0.34902 1 87 | DVTSourceTextBackground 88 | 0.0922006 0.0917242 0.106091 1 89 | DVTSourceTextBlockDimBackgroundColor 90 | 0.5 0.5 0.5 1 91 | DVTSourceTextCurrentLineHighlightColor 92 | 0.138526 0.146864 0.169283 1 93 | DVTSourceTextInsertionPointColor 94 | 1 1 1 1 95 | DVTSourceTextInvisiblesColor 96 | 0.258298 0.300954 0.355207 1 97 | DVTSourceTextSelectionColor 98 | 0.317647 0.356862 0.439215 1 99 | DVTSourceTextSyntaxColors 100 | 101 | xcode.syntax.attribute 102 | 0.74902 0.521569 0.333333 1 103 | xcode.syntax.character 104 | 0.995808 0.800103 0.399985 1 105 | xcode.syntax.comment 106 | 0.423943 0.474618 0.525183 1 107 | xcode.syntax.comment.doc 108 | 0.475888 0.5813 0.686483 1 109 | xcode.syntax.comment.doc.keyword 110 | 0.572549 0.631373 0.694118 1 111 | xcode.syntax.declaration.other 112 | 0.254902 0.631373 0.752941 1 113 | xcode.syntax.declaration.type 114 | 0.362946 0.846428 0.998966 1 115 | xcode.syntax.identifier.class 116 | 0.130317 0.999709 0.502003 1 117 | xcode.syntax.identifier.class.system 118 | 0.632318 0.402193 0.901151 1 119 | xcode.syntax.identifier.constant 120 | 0.4 1 0.8 1 121 | xcode.syntax.identifier.constant.system 122 | 0.800003 0.40007 0.999025 1 123 | xcode.syntax.identifier.function 124 | 0.227226 0.752322 0.627611 1 125 | xcode.syntax.identifier.function.system 126 | 0.816806 0.656917 0.999271 1 127 | xcode.syntax.identifier.macro 128 | 0.991311 0.560764 0.246107 1 129 | xcode.syntax.identifier.macro.system 130 | 0.992157 0.560784 0.247059 1 131 | xcode.syntax.identifier.type 132 | 0.130317 0.999709 0.502003 1 133 | xcode.syntax.identifier.type.system 134 | 0.632318 0.402193 0.901151 1 135 | xcode.syntax.identifier.variable 136 | 0.227226 0.752322 0.627611 1 137 | xcode.syntax.identifier.variable.system 138 | 0.816806 0.656917 0.999271 1 139 | xcode.syntax.keyword 140 | 0.988394 0.37355 0.638329 1 141 | xcode.syntax.mark 142 | 0.572549 0.631373 0.694118 1 143 | xcode.syntax.markup.code 144 | 0.665 0.308854 0.609225 1 145 | xcode.syntax.number 146 | 0.995808 0.800103 0.399985 1 147 | xcode.syntax.plain 148 | 1 1 1 0.85 149 | xcode.syntax.preprocessor 150 | 0.991311 0.560764 0.246107 1 151 | xcode.syntax.regex 152 | 0.988904 0.400472 0.39996 1 153 | xcode.syntax.regex.capturename 154 | 0.4 1 0.8 1 155 | xcode.syntax.regex.charname 156 | 0.800003 0.40007 0.999025 1 157 | xcode.syntax.regex.number 158 | 0.995808 0.800103 0.399985 1 159 | xcode.syntax.regex.other 160 | 1 1 1 0.85 161 | xcode.syntax.string 162 | 0.988904 0.400472 0.39996 1 163 | xcode.syntax.url 164 | 0.330191 0.511266 0.998589 1 165 | 166 | DVTSourceTextSyntaxFonts 167 | 168 | xcode.syntax.attribute 169 | SFMono-Medium - 14.0 170 | xcode.syntax.character 171 | SFMono-Medium - 14.0 172 | xcode.syntax.comment 173 | SFMono-Medium - 14.0 174 | xcode.syntax.comment.doc 175 | SFMono-Medium - 14.0 176 | xcode.syntax.comment.doc.keyword 177 | SFMono-SemiboldItalic - 14.0 178 | xcode.syntax.declaration.other 179 | SFMono-Semibold - 14.0 180 | xcode.syntax.declaration.type 181 | SFMono-Semibold - 14.0 182 | xcode.syntax.identifier.class 183 | SFMono-Medium - 14.0 184 | xcode.syntax.identifier.class.system 185 | SFMono-Semibold - 14.0 186 | xcode.syntax.identifier.constant 187 | SFMono-Medium - 14.0 188 | xcode.syntax.identifier.constant.system 189 | SFMono-Medium - 14.0 190 | xcode.syntax.identifier.function 191 | SFMono-Medium - 14.0 192 | xcode.syntax.identifier.function.system 193 | SFMono-Medium - 14.0 194 | xcode.syntax.identifier.macro 195 | SFMono-Medium - 14.0 196 | xcode.syntax.identifier.macro.system 197 | SFMono-Medium - 14.0 198 | xcode.syntax.identifier.type 199 | SFMono-Medium - 14.0 200 | xcode.syntax.identifier.type.system 201 | SFMono-Semibold - 14.0 202 | xcode.syntax.identifier.variable 203 | SFMono-Medium - 14.0 204 | xcode.syntax.identifier.variable.system 205 | SFMono-Medium - 14.0 206 | xcode.syntax.keyword 207 | SFMono-Bold - 14.0 208 | xcode.syntax.mark 209 | SFMono-MediumItalic - 14.0 210 | xcode.syntax.markup.code 211 | SFMono-Medium - 14.0 212 | xcode.syntax.number 213 | SFMono-Medium - 14.0 214 | xcode.syntax.plain 215 | SFMono-Medium - 14.0 216 | xcode.syntax.preprocessor 217 | SFMono-Medium - 14.0 218 | xcode.syntax.regex 219 | SFMono-Medium - 14.0 220 | xcode.syntax.regex.capturename 221 | SFMono-Medium - 14.0 222 | xcode.syntax.regex.charname 223 | SFMono-Medium - 14.0 224 | xcode.syntax.regex.number 225 | SFMono-Medium - 14.0 226 | xcode.syntax.regex.other 227 | SFMono-Medium - 14.0 228 | xcode.syntax.string 229 | SFMono-Medium - 14.0 230 | xcode.syntax.url 231 | SFMono-Medium - 14.0 232 | 233 | 234 | 235 | -------------------------------------------------------------------------------- /IDETemplateMacros.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | FILEHEADER 6 | 7 | // Created by ___FULLUSERNAME___ on ___DATE___. 8 | // Copyright © ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved. 9 | // 10 | 11 | 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # xcode-settings-backup 2 | 3 | *Backup of my Xcode configuration and various settings* 4 | 5 | ## Contents 6 | 7 | - Xcode color theme 8 | - Default [header file template](https://oleb.net/blog/2017/07/xcode-9-text-macros/) 9 | - Saved [user breakpoints](https://pspdfkit.com/blog/2017/user-breakpoints-in-xcode/) 10 | 11 | ## Usage 12 | 13 | ```bash 14 | > git clone git@github.com:jessesquires/xcode-settings-backup.git 15 | > cd xcode-settings-backup/ 16 | ``` 17 | 18 | ### Install 19 | 20 | ```bash 21 | > ./scripts/install.sh 22 | ``` 23 | 24 | ### Backup 25 | 26 | ```bash 27 | > ./scripts/backup.sh 28 | ``` 29 | -------------------------------------------------------------------------------- /scripts/backup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | USER="$(whoami)" 4 | XC_USER_DATA="/Users/$USER/Library/Developer/Xcode/UserData" 5 | DEST="./" 6 | 7 | cp "$XC_USER_DATA"/FontAndColorThemes/Custom.xccolortheme "$DEST" 8 | cp "$XC_USER_DATA"/IDETemplateMacros.plist "$DEST" 9 | cp "$XC_USER_DATA"/xcdebugger/Breakpoints_v2.xcbkptlist "$DEST" 10 | -------------------------------------------------------------------------------- /scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | USER="$(whoami)" 4 | XC_USER_DATA="/Users/$USER/Library/Developer/Xcode/UserData" 5 | 6 | # color theme 7 | echo 'Copying color themes...' 8 | THEME_DIR="$XC_USER_DATA/FontAndColorThemes/" 9 | mkdir -p $THEME_DIR 10 | cp ./Custom.xccolortheme $THEME_DIR 11 | 12 | # template 13 | echo 'Copying header templates...' 14 | cp ./IDETemplateMacros.plist "$XC_USER_DATA" 15 | 16 | # breakpoints 17 | echo 'Copying breakpoints...' 18 | BP_DIR="$XC_USER_DATA/xcdebugger/" 19 | mkdir -p $BP_DIR 20 | cp ./Breakpoints_v2.xcbkptlist $BP_DIR 21 | 22 | echo 'Done!' 23 | --------------------------------------------------------------------------------