Xcode playground gets stuck on 'Running playground' or 'Launching simulator' and won't run the code, what to do?

前端 未结 22 996
情歌与酒
情歌与酒 2020-12-22 16:03

Every time I create a new playground in order to test some code, Xcode gets stuck and won\'t run the code. It simply presents \'Running playground\' or \'Launching simulator

22条回答
  •  感动是毒
    2020-12-22 16:14

    Check for iCloud storage plan!

    If you do have one, it constantly syncs the entire computer which includes Desktop and Document folders. Instead try creating a "Local Files" folder in your Home folder(command+shift+h) and keep your Playground projects there, where it doesn't sync to iCloud.

    This worked for me.I hope this works for you as well! :)

提交回复
热议问题