Xcode .gitignore is at the wrong location and does not ignore build folder and files

The current iOS gitignore is inside the Xcode project, thus not affecting the build folder and other generated content. This fix moves it to the root so it will properly ignore the defined directories.