Skip to content

Commit

Permalink
[수정] using_xcodebuild.md 오타수정
Browse files Browse the repository at this point in the history
  • Loading branch information
x-0o0 committed Nov 4, 2023
1 parent c06c478 commit 3d8c738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions using_xcodebuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ $(xcrun --find docc) process-archive \

`/docs` 경로에 웹 호스팅이 가능한 파일들이 위치한 것을 알 수 있습니다. [방법1](#1-문서-아카이브-파일-생성-doccarchive)[방법2](#2-정적-호스팅을-위한-형태로-변형-docs) 의 명령어들을 `.sh` 스크립트 파일로 저장해두면 GitHub Actions 로 배포<sup>[3](#footnote_3)</sup>할 때 용이합니다.

## 결론
## 3. 결론

`xcodebuild` 커맨드라인도구에도 docc 에 대한 명령어들이 있어 문서를 빌드하고, 아카이브 파일을 정적 웹호스팅을 위한 형태로 변형할 수 있습니다.

`docc-plugin` 에서는 macOS로 고정되어 있는 빌드 대상을 변경할 수 없는 반면 `xcodebuild` 는 빌드 대상을 바꿀 수 있기 때문에 macOS 가 아닌 다른 플랫폼(예: iOS)만 지원하는 스위프트 패키지의 경우 `xcodebuild` 커맨드라인 도구를 사용하여 문서를 빌드할 수 있습니다.


## 참고문헌
## 4. 참고문헌

<a name="footnote_1">1</a>: [https://developer.apple.com/documentation/xcode/distributing-documentation-to-external-developers](https://developer.apple.com/documentation/xcode/distributing-documentation-to-external-developers#:~:text=xcodebuild%20docbuild%20%2Dscheme%20SlothCreator%20%2DderivedDataPath%20~/Desktop/SlothCreatorBuild), Apple, Inc.

Expand Down

0 comments on commit 3d8c738

Please sign in to comment.