XCode 开发去除 UserInterfaceState.xcuserstate 文件为版本控制(git、svn)带来的困扰
来源:互联网 发布:top域名续费多少钱 编辑:程序博客网 时间:2024/05/16 01:17
深受 UserInterfaceState.xcuserstate 文件频繁更新带来的困扰,
要免除该困扰,可在 Versions 的配置文件 ~/.subversion/config 中忽略对 xcuserstate 类型文件的版本控制。
另外,Versions 的配置文件是处于隐藏目录的,可在 Finder 中通过 cmd + shift + g 直接跳到隐藏目录~
************************ 分割线 ***************************
文章标题:
摆脱 UserInterfaceState.xcuserstate给Xcode 版本控制(git)带来的困扰
转载自:http://alexrezit.42qu.com/10280223
今天在Xcode中Commit的时候UserInterfaceState.xcuserstate这个文件几秒钟更新一次, 搅得人不得安宁, 用.gitignore无效. 于是, 在终端中输入:
uername 指的是mac的用户名,而不是git用户名,目的是找到文件所在路径
如果是本地项目,最后一句不需要
搞定!************************ 分割线 ***************************
文章标题:
XCode SVN
转载自:http://renxiangzyq.iteye.com/blog/850762
- Create the project in XCODE.
- Setup subversion in XCODE and select the subversion repository for this project.
- Use Xcode SCM > Repository and click on the IMPORT icon. This will move the local copy to the subversion repository.
- Now delete your local copy (or move it to another location just in case).
- Finally CHECKOUT the project from subversion (this will create the subversion .svn folders, …).
- Reselect the subversion repository for this project.
- Commit the entire project.
第一步,配置Subversion
Xcode中SVN使用时需要配置Subversion。Leopard中自带了SVN,但Xcode的项目文件中,并不是所有文件都适于加入SVN中进 行管理,比如编译后的文件和编译过程中产生的文件,这些文件不属于源代码,应该告诉svn忽略掉,方法:编辑~/.subversion/config文 件
1.找到global-ignores一行,去掉注释,编辑成
global-ignores=build*~.nib*.so*.pbxuser*.mode*.perspective*
Xcode项目文件中有些文件是文本文件,需要告诉SVN,因为SVN能更好地管理文本文件(谁用谁知道)
2.找到enable-auto-props=yes把注释去掉,在[auto-props]Section声明以下文本文件
*.mode*=svn:mime-type=text/X-xcode
*.pbxuser=svn:mime-type=text/X-xcode
*.perspective*=svn:mime-type=text/X-xcode
*.pbxproj=svn:mime-type=text/X-xcode
- XCode 开发去除 UserInterfaceState.xcuserstate 文件为版本控制(git、svn)带来的困扰
- XCode 开发去除 UserInterfaceState.xcuserstate 文件为版本控制带来的困扰
- XCode 开发去除 UserInterfaceState.xcuserstate 文件为版本控制带来的困扰
- XCode 开发去除 UserInterfaceState.xcuserstate 文件为版本控制带来的困扰
- svn如何屏蔽/忽略不需要版本控制的文件(以UserInterfaceState.xcuserstate为例)
- [转]svn如何屏蔽/忽略不需要版本控制的文件(以UserInterfaceState.xcuserstate为例)
- svn如何屏蔽/忽略不需要版本控制的文件(以UserInterfaceState.xcuserstate为例)
- svn如何屏蔽/忽略不需要版本控制的文件(以UserInterfaceState.xcuserstate为例)
- SVN(Cornerstone)屏蔽/忽略不需要版本控制的UserInterfaceState.xcuserstate
- 【iOS开发】(转)让SVN忽略Xcode文件UserInterfaceState.xcuserstate
- iOS UserInterfaceState.xcuserstate文件在Git版本控制中不能忽略
- git 去掉UserInterfaceState.xcuserstate文件
- Mac 解决svn+Cornerstone中 UserInterfaceState.xcuserstate的版本控制
- Git关于忽略Xcode工程中UserInterfaceState.xcuserstate文件的问题
- Git关于忽略Xcode工程中UserInterfaceState.xcuserstate文件的问题
- 57.解决版本控制中 UserInterfaceState.xcuserstate 文件频繁变动
- 如何从git中剔除烦人的UserInterfaceState.xcuserstate文件
- git中忽略UserInterfaceState.xcuserstate的方法
- nginx配置location总结及rewrite规则写法
- UE3 材质概述
- osg 默认光源设置
- 遍历Map的四种方法
- Java快速开发平台:J-Hi
- XCode 开发去除 UserInterfaceState.xcuserstate 文件为版本控制(git、svn)带来的困扰
- 全方位的比较node.js 与 js的区别
- Codeforces 138C(区间更新+离散化)
- UE4 Material Properties
- 我看到妈妈的眼睛也和我一样
- HttpSessionListener进行同名用户剔除登录的方法
- wpf中,隐藏或去除window右上角的关闭按钮
- iOS 逆向之ARM汇编
- UVALive 3211 Now or later || 2-sat + 二分