xcplayground allows you to create Xcode playground documents from the command line or within Ruby.
>= 2.0.0
Sam Davies