sorry I am new in using git and Github
so I use this in my gitignore, taken from gitignore.io for macOS and swift. I copy them all, and I use it as it is