我有关于我的.pbxproj文件的问题。我在一台电脑上使用Xcode项目,然后使用SourceTree克隆到另一台电脑上。但现在,由于project.pbxproj文件完全丢失,我无法打开该项目。我没有将其添加到.gitignore文件中,当我在另一台电脑上工作时,从未遇到任何问题。
所以为什么会消失,有没有办法找回它?我在我的源代码中根本找不到它。即使我恢复到最初的提交状态,它也不存在。是不是因为我将项目源代码推送到 bit bucket 时没有提交 .pbxproj 文件?
有没有办法创建一个新的 .pbxproj 文件?我没有带着正在工作的电脑,它在我的办公室里。
编辑: 包括我的.gitignore文件
所以为什么会消失,有没有办法找回它?我在我的源代码中根本找不到它。即使我恢复到最初的提交状态,它也不存在。是不是因为我将项目源代码推送到 bit bucket 时没有提交 .pbxproj 文件?
有没有办法创建一个新的 .pbxproj 文件?我没有带着正在工作的电脑,它在我的办公室里。
编辑: 包括我的.gitignore文件
# OS X Finder
.DS_Store
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
#Pods/