What is “UserInterfaceState.xcuserstate” file in Xcode project?

前端 未结 3 1437
攒了一身酷
攒了一身酷 2021-02-01 13:33

I use svnX.

When importing project, I check \"no ignore\" option. (for importing libOAuth.a, ...)

But one file is causing a small problem.

3条回答
  •  借酒劲吻你
    2021-02-01 14:02

    As of Xcode 7.3.1, UserInterfaceState.xcuserstate's are binary-formatted plist files that can exist in either of project files or workspace files. They are user-specific and many can be present in a given Xcode project or workspace.

    Among other things they contain the current target your project is set to, the currently open file, and cursor position. These files can be saved to disk frequently if Xcode has the associated project open.

    To convert the contents of the binary plist files to a more human-readable XML format you can use this plutil command in the terminal:

    plutil -convert xml1 UserInterfaceState.xcuserstate
    

    These files can safely be ignored in most cases.

提交回复
热议问题