add gitignore
fixed error in swift project