Ignore build files and xcuserdata
Fix compiler warnings