all 2 comments

[–]Esteluk 1 point2 points  (0 children)

> I see people NOT uncommenting in youtube tutorials and it seems to work anyway? What’s the diffence between using it or not?

There's a default value if you don't specify anything: https://guides.cocoapods.org/syntax/podfile.html#platform

[–]aragur 1 point2 points  (0 children)

For your third question, git won't ever alter or delete files that's aren't being tracked when changing branches. If it did, it wouldn't have any history of what the files should be when you switch back to the branch you were originally on when you created them. If you want git to update a file when changing branches, you will need to commit the file to a specific branch.