Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Object-Oriented Swift 2.0 Complex Data Structures Introduction to Structs

Handy Metellus
Handy Metellus
7,796 Points

The file “playground.xcworkspace” couldn’t be saved in the folder “CalculateCityTaxAmount.playground” because a file wit

The file “playground.xcworkspace” couldn’t be saved in the folder “CalculateCityTaxAmount.playground” because a file with the same name already exists.

I've been getting this error in every file I try to work in in playground. I try reinstalling and closing all apps open but no resolution. Someone please advise.

Thanks

3 Answers

Cindy Lea
PLUS
Cindy Lea
Courses Plus Student 6,497 Points

This is basically saying that you already have a file with the same name in the directory so its giving you an error. You may need to either overwrite it with force override or delete file manually.

Handy Metellus
Handy Metellus
7,796 Points

I'm not understanding. I assume playground has an auto save feature. Shouldn't Xcode overwrite automatically when it auto saves that playground file in working on. I have an development folder that holds all my playground files. Is there something about playground and it's saving process I should know about? This error triggers and it crashes the app

Anthony Fowler
Anthony Fowler
6,749 Points

Im running into this all the time as well, ever find a solution?

I found this on the apple forums: https://forums.developer.apple.com/message/95139#95139

I tried it just now. Haven't run into problems, but it's only been a few minutes.