So far I was working on an app and my Team Lead said not to commit the pod files and I just followed his instructions.
Then our Lead changed and he said to commit the p
If you are using local development pods
, there is an annoying issue if you don't commit the Pods repo.
Assume you are working on a branch and added file X to a local development Pod. So it's added in 'Compile Sources' in the development Pod target of Pods.xcodeproj
file.
Now you switch branch to another commit which doesn't have file X. Since you gitignore the Pods.xcodeproj
, the file X remains in 'Compile Sources' and causes build to fail.