iOS/tvOS playground fails with “Unable to find execution service for selected run destination”

后端 未结 6 874
盖世英雄少女心
盖世英雄少女心 2021-02-18 15:06

After migrating to XCode 7.1 I can not use playground with iOS and tvOS platforms. Only OS X works. Simplest playground code produces error message:

Una

6条回答
  •  南笙
    南笙 (楼主)
    2021-02-18 15:47

    There may be a faster solution:

    Check that you have iPad Pro simulator in your devices in Xcode. If not – add it via Add Simulator option.

    As some have noted in comments, you may also need to restart Xcode or reopen the playground.

    To add a simulator go to Devices (Window > Devices). Click the + button at the far bottom left of the window, click "Add Simulator", then select the appropriate "Device Type" from the dropdown and click "Create".

提交回复
热议问题