我们的项目由git管理,团队成员在项目中添加或删除文件时会提交.xcodeproj文件。 (我们使用sourcetree + bitbucket)
问题是,当团队成员获取(或拉取)提交的.xcodeproj文件时,他们无法再在Xcode中加载他们的项目。
这是什么问题以及如何解决问题?
提交.xcodeproj文件时有什么要小心的吗?
由于
答案 0 :(得分:1)
听起来您的文件权限未保存。 Git商店许可为 将执行权限更改为文件&然后设置此配置值,以便git跟踪
# Tell git not to ignore file permissions
git config core.fileMode true
core.fileMode
If false, the executable bit differences between the index and the working copy are ignored; useful on broken filesystems like FAT.