search

Home  >  Q&A  >  body text

iOS development git cannot add files downloaded by cocoaPods

God, please tell me why git cannot add the third-party framework source file downloaded by cocoaPods? The sourcetree I use will automatically recognize any file changes in the project directory, but the Pods/ folder and .xcworkspace project file are not recognized. So, I switched to the terminal and manually added git add Pods/. No error was reported. I checked git status and found that it was not added at all. Does anyone know how to solve this?

天蓬老师天蓬老师2810 days ago947

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-06-13 09:24:41

    https://www.gitignore.io/ You can generate .gitignore in various languages ​​on this website

    reply
    0
  • 学习ing

    学习ing2017-06-13 09:24:41

    Sorry, everyone. I've solved it. The reason is that the following content was added to the .gitignore file, and Pods-related files were filtered.
    #CocoaPods
    Pods

    reply
    0
  • Cancelreply