That’s correct, you need to add the Pods directory to your .gitignore
1) Remove your files from your github repository:
git rm -r Pods/
and don’t forget to commit and push
2) Create a gitignore file:
- Open terminal and go through your project folder where the .git folder is located
- Type
touch .gitignore
- Type
echo "Pods/" > .gitignore
3) (Added from Gabriel’s comment) Last step, remove them from the remote:
git rm -r --cache Pods/
More informations : here