Preventing the XCode of my folders from changing whenever the workspace file is rebuilt using CocoaPods

Whenever I add CocoaPod

to my workspace with pod install

, the folder tree on the left navbar collapses to the root. This is very annoying because I am working on a project with deep folder structure. I understand its slight inconvenience, but is there a way to prevent this?

EDIT: So I have a workspace that has already been set up using CocoaPods

through pod install

. I want to add a new pod. So me vim Podfile

and then pod install

(or sometimes pod update

).

Meanwhile, starting with the latter pod install

, I have done a certain job. I have some tabs open in my Xcode workspace and each tab has its own left navigation view that shows a hierarchical view of my workspace. You know, something like this:

A left navigation pane

If it matters, I take great care to have groups in my project that strictly represent filesystem folders, i.e. within a node project, each group corresponds to a real filesystem folder. I doubt this is relevant, but just in case I mention it.

Now when I run this one pod install

, right after it finishes, I believe it is either writing or overwriting the file xcworkspace

. And I always know that when I do this, because the next thing that happens is that my left nav view has completely collapsed. I can't find it on the internet right away, but mostly drawing above, only apparently only "SlideApp" and the Pods project.

+3


source to share


2 answers


UI state is saved inside you * .xcodeproj-> project.workspace-> xcuserdata -> 'user'.xuserdatad-> UserInterfaceState.xuserstate

Where the user should be your login, I would.



If you are so detailed about your state, try backing up and setting the post-install state.

The state of your UI before installing / updating the pod may not be the same as after installing, as installing / updating in the natural order of installation causes a change in the UI. Thus, the result may not be reproducible.

+3


source


We had a developer who passed their user data during a search. It looks like the app directory was not available.



0


source







All Articles