I have a big iOS-project with many folders / groups. When I quit and restart Xcode, all folders in the Project Navigator are shown expanded, so I have to collapse most of them manually.
Is it possible to save the state of the Project Navigator, so that when Xcode restarts the same folders are collapsed / expanded as before?
The solution was to delete this file:
MyProjectName.xcodeproj > project.xcworkspace > xcuserdata > myusername.xcuserdatad > UserInterfaceState.xcuserstate
This file was recreated by XCode when re-opening the project.
Apparently that file got corrupted when XCode crashed. (Its size was 300 KB instead of the usual 10 KB).
To see the files right click on MyProjectName.xcodeproj
, and choose Show Package Contents. You will find UserInterfaceState.xcuserstate
in the subfiles.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With