Generate your Xcode color asset catalog from a Sketch file.
Create an Artboard for each color you want to manage in your Xcode asset catalog on a page named “xPal”
The Sketch file is processed and the background color from each Symbol on the “xPal” page is extracted
The .xcassets folder you export contains all the specified colors ready to use in your Xcode project