Search code examples
iosswiftxcodemacosswift-playground

Convert an iPad Playground to a Xcode 10 Playground


New created Xcode 10 playgrounds are offering a play button to execute a playground step by step.

enter image description here

If I open a playground created on an iPad or in a previous versions of Xcode the play button is missing.

enter image description here

I would like to convert all my existing playgrounds to Xcode 10 style playgrounds but did not find any possibility to do so in a simple way.


Solution

  • Those playgrounds must be set to Automatically Run, it is unrelated to the device on which it was created/Xcode version.

    The play button shows up when the playground is set to Manually Run

    Play button