Xcode remember what folders were collapsed / opened

萝らか妹 提交于 2019-12-03 06:29:59
Pawel

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.xcuserstatein the subfiles.

Cry
  1. Project Navigator > search file (enter a random sting), shows 'No Filter Results'.
  2. Close project.
  3. Reopen project.
  4. All folders have been reset.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!