IOS
554. (ios/git) gitignore 파일 생성 및 파일 내용 작성 방법
투케이2K
2024. 9. 27. 09:28
[개발 환경 설정]
개발 툴 : XCODE
개발 언어 : SWIFT5

[방법 설명]
1. IOS 특정 개발 폴더를 들어갑니다
2. 해당 폴더에서 .gitignore 파일을 생성합니다
3. gitignore 파일을 열어서 git 에 업로드 하지 않을 코드를 작성 합니다
## ------------------------------------------------------------ ##
### [App packaging] ###
## ------------------------------------------------------------ ##
*.ipa
*.dSYM.zip
*.dSYM
## ------------------------------------------------------------ ##
## ------------------------------------------------------------ ##
# [build]
## ------------------------------------------------------------ ##
.build/
## ------------------------------------------------------------ ##
## ------------------------------------------------------------ ##
# [fastlane]
## ------------------------------------------------------------ ##
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
## ------------------------------------------------------------ ##
## ------------------------------------------------------------ ##
### [Log/OS Files] ###
## ------------------------------------------------------------ ##
#*.log
*.log
*.hprof
## ------------------------------------------------------------ ##
>> .gitignore 파일 자동 생성 사이트
https://www.toptal.com/developers/gitignore
gitignore.io
Create useful .gitignore files for your project
www.toptal.com
반응형