close
SketchCasts is closing. Read the announcement and what the future holds. Read more
Loading video..

Get access to 150+ videos on design and code to boost your skills

become a member
love watch later
5 minutes | 06 Aug 2014

Automatically export assets to Xcode

We explore a little script magic to automatically export your design assets to Xcode

    Disclaimer: this script stopped working on version 3.1. I'm currently investigating and I'll report back as soon as I have a fix. Love you all :)


  • Automatically Exporting Assets from Sketch into Xcode — by Matt Zanchelli
  • Matt Zanchelli on Twitter, send him a thank you tweet :)
  • SketchCasts Episode 13 — where I talk about SketchTool

  • Le magic Script
  • sketchtool export artboards "$PROJECT_DIR"/"Graphics Resources/AppIcon.sketch" --output="$PROJECT_DIR"/"$PROJECT_NAME"/Images.xcassets/AppIcon.appiconset --formats="png"
  • Login to see the download links.

Rafael Conde

Co-founder

@rafahari

Related

Recreating Tweetbot's icon in Sketch

Recreating Tweetbot's icon in Sketch

17 minutes
Recreating iOS 11 Touch ID Icon in Sketch

Recreating iOS 11 Touch ID Icon in Sketch

10 minutes
Apple Design Resources for Sketch

Apple Design Resources for Sketch

5 minutes *free