iOS development git cannot add files downloaded by cocoaPods
天蓬老师
天蓬老师 2017-06-13 09:22:41
0
2
910

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?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
大家讲道理

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

学习ing

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template