remove unused files
fix Xcode build issues