HELP!!! I cannot open my Xcode!

Xcode (playrgound page) quit suddenly when I added image file in resource to scene in sks file.

After then... I tried to open the playground several times but I couldn't.

If you have any solution, please let me know!


My Xocde version is the latest.

Your playground file may be damaged.


Do you succeed opening a new playground ?

Yes, I can open a new playground.

Is there any way to open the damaged file?

If your playground crashes in XCode, you could try to open in Finder:


- Right clik on the playGround file

- select in the popup: Display package

- You will see 3 files in Finder:

Contents.swift

contents.xcplayground

playground.xcworkspace


Right click on Contents.swift and open with TextEdit


Then you can copy and paste piece by piece in a new playground you create in XCode

HELP!!! I cannot open my Xcode!
 
 
Q