Launch Arguments를 사용하는 경우 Git에서 / xcuserdata /를 무시하는 것이 안전합니까? 출시시 전달되는 인수가 -D DEBUG있습니다 : 출시 앱에서 다음을 사용할 수 있습니다. #ifndef DEBUG /* Some code I only want to be run when using the release app */ #endif 을 실행 git status하면 추가 할 때 변경된 파일 -D DEBUG이MyExampleProject.xcodeproj/xcuserdata/myusername.xcuserdatad/xcschemes/MyExampleProject.xcscheme 일반적으로 사용되는 Xcode .gitignore 파일을 사용하여 제외해야 합니다 . .gitignore내 ..