swiftLint를 사용하다보면 아래와 같은 문구가 발생하는 경우가 있는데, Whitespace 를 제거 해달 라는 의미이고, swift:164:1 Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace) 해결 방법이 아래와 같다.1. Xcode -> Settings -> Text Edition -> Editing 탭에 가면 Whitespace를 trim 하는 옵션이 있다. 2. swiftLint 옵션 사용아래와 같은 내용을 command Line 에 작성하여 해결 할 수도 있다.$ swiftlint autocorrect 또는,$ swiftlint --fix
카테고리 없음
2024. 7. 12. 11:31
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 프로그래머스
- 무료는 아니지만
- RxSwift
- swift
- swiftLint
- AppThinning
- GPT4
- Fastlane
- Default Rules
- 모듏화
- chatgpt 4o
- firebase
- bitrise
- GCD
- CI/CD
- AWS IoT
- geohash
- IF (KAKAO) DEV 2022
- ATS failed system trust
- xcode whitespace trim option
- async
- 빌드자동화
- ios
- ChatGPT
- MQTT
- 코테
- Moya
- jenkins
- XCTestExpectation
- 같이쓰기
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함