5 git xcode ios atlassian-sourcetree
我的 .pbxproj 文件有问题。我在一台计算机上开发了 Xcode 项目,然后在另一台计算机上使用 SourceTree 克隆了它。但现在我无法打开该项目,因为 project.pbxproj 文件完全消失了。我还没有将其添加到我的 .gitignore 文件中,当我在另一台计算机上处理该项目时,我从未遇到过任何问题。
那么为什么它消失了,有没有办法恢复呢?我在我的源代码中根本找不到它。即使我恢复到最初的承诺也不会。难道当我将项目源代码推送到位存储桶时,我的 .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/
Run Code Online (Sandbox Code Playgroud)
    |   归档时间:  |  
           
  |  
        
|   查看次数:  |  
           3069 次  |  
        
|   最近记录:  |