I had to clone an iOS project from github in my Windows. Then when I copied that project into my Mac using a pen drive, the project is no more buildable and many files showing ^M characters in lines end due to difference of End of Line Character formats in different platform. 
So what is the proper way to make this project buildable on my Mac?
 
     
    