ios - 我应该 checkin iOS xcuserdata 吗?

标签 ios objective-c iphone git

我应该检查 git 中的以下文件吗?

# On branch 4-menu
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#   myapp-ios.xcodeproj/project.xcworkspace/xcuserdata/harith.xcuserdatad/
#   myapp-ios.xcodeproj/xcuserdata/harith.xcuserdatad/

我是 iOS 编程的新手,很好奇我是否需要忽略它们

最佳答案

这些文件包含您的 Xcode 项目的用户数据和工作区设置,包括文件/文件夹顺序等,在您的 Xcode 的左 Pane 中看到,通常的习惯是避免将它们提交到存储库中。

查看 .gitignore 文件 here .

关于ios - 我应该 checkin iOS xcuserdata 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25490203/

相关文章:

ios - 如何为不同的设备缩放按钮

ios - 嗨,有没有办法让 AVSpeech 合成器在使用耳机播放音频的同时使用任一 channel 播放音频?

ios - 在 objective-c 项目中导入 TZStackView

iphone - MPMusicPlayerController 速度调节

iphone - UIRefreshControl 无限期挂起

ios - 按属性值查找对象索引

ios - 在 Objective C 中使用带有信号量的委托(delegate)方法

ios - 具有自动布局和 UITableAutomaticDimension 的动态高度表单元格(动态 UILabel + 几个 UIImageViews)

iphone - EGOTableViewPullRefresh - 由于链接问题无法构建

ios - 错误 : Initializer for conditional binding must have optional type, 不是 'String'