Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 9 / 10 resets project navigator state

Usually Xcode project navigator saves open/closed state of the project navigator folders, so when you open the project you always see the same state as before. However it's not the case in one of my projects in Xcode 9. Every time I open it Xcode project navigator opens some folders I don't need and closes the others. Is there any way to fix this annoying bug?

like image 390
Alexander Vasenin Avatar asked Sep 22 '17 01:09

Alexander Vasenin


1 Answers

There is an easy workaround: exit Xcode and delete appropriate xcuserdata folder:

YourProjectName.xcodeproj/xcuserdata // no Cocoa Pods
YourProjectName.xcworkspace/xcuserdata // for Cocoa Pods

This effectively resets all user settings for the project, but Xcode would be able to start saving them again. More info on those folders.

Xcode 10 update: same bug, same workaround

like image 55
Alexander Vasenin Avatar answered Oct 03 '22 09:10

Alexander Vasenin